Thanks for posting your query.
From descripton , it seems you might having muscle strain
I would suggest getting this evaluated by an orthopedician for an accurate diagnosis and appropriate management. You may get the MRI
of the area affected under his/her guidance.
Meanwhile, apply ice packs to the affected area,anti-inflammatory drug like motrin
to reduce pain and inflammation.
Wishing you good health
Dr Saurabh Gupta