Nonsteroidal anti-inflammatory drugs (NSAIDs) are used to treat acute pain, inflammation, and fever. They also have other uses, such as managing osteoarthritis pain and chronic inflammatory conditions, such as rheumatoid arthritis. NSAIDs work by blocking enzymes (proteins) called COX-1 and COX-2, which helps reduce inflammation and pain in your body. These medications come in different forms, including oral pills, topical gels, and injections. Examples include ibuprofen (Advil, Motrin), meloxicam (Mobic), celecoxib (Celebrex, Elyxyb), and diclofenac sodium (Cambia, Voltaren Arthritis Pain). You can discuss with your healthcare team which option might be right for you.