The specific medication depends on the diagnosis. In general, non-steroidal anti-inflammatory medication, also called NSAIDs, are useful in controlling mild joint pain symptoms. Please ask your primary care doctor whether it is safe for you to take those medication. They are known to worsen any existing kidney or liver diseases. Corticosteroids can be beneficial in controlling inflammatory arthritis. You should see a rheumatologist to discuss further on specific treatments for your diagnosis.