Thanks for writing in.
You might have sustained a muscle pull injury
. Resting for a day or two will relieve your symptoms. Also apply some anti inflammatory with muscle relaxant
ointment combination. Please do not do heavy exercises at the gym for a week. I would suggest you not to go to gym today.
Hope this helps