Question: what medication can be used for joint pain?
Answer: Over-the-counter (OTC) nonsteroidal anti-inflammatory drugs (NSAIDs), such as ibuprofen (Motrin, Advil) or naproxen (Aleve), reduce inflammation and alleviate pain. ... 
Prescription NSAIDs include diclofenac (Voltaren) and celecoxib (Celebrex).