Medications for osteoarthritis are used to relieve pain, reduce inflammation, and improve joint function. They work in various ways to manage symptoms and improve quality of life. Common classes include nonsteroidal anti-inflammatory drugs (NSAIDs) and corticosteroids. NSAIDs like ibuprofen (Advil) and celecoxib (Celebrex) are usually taken as oral pills, while diclofenac sodium (Voltaren) is available as a topical gel. Corticosteroids, such as prednisone and triamcinolone (Kenalog, Zilretta), can be taken orally or given as injections.