Thanks for posting your query.
Multiple joint pain which you are suffering ,seems not to be related due to mausterbation. The cause might be arthritic, inflammatory, infective or due to crystal deposition.
I suggest you to consult an orthopaedician/ Rheumatologist
nearby for a detailed clinical examination, some investigations to diagnose the condition and definitive treatment according to that.
Wishing you good health
Dr Saurbh Gupta