I started to feel this pain in the gym yesterday when I was working out.
Discussion
Maybe overtrained one muscle or overstrained (could also be just one movement with the wrong force at the wrong place).
For that no medication necessary, stretching tho, could help.