Hello and welcome to E health forum.
The presence of persistant inflammation in the joints is the cause of your pain.
The medications in the prescribed dosage will not be harmful.
For proper treatment and relief of complete pain, you might consult a orthopedist for definitive treatment of your arthritis ( Arthroplasty, joint replacement).
I hope this helps.