The menthol patches like Salon Pas or Icy Hot.
Arnica cream or
gel onto the area. Icing it.
Ibuprofen. Stretching is essential and remember that often where you hurt, it's a result of other things being tight. So, stretch out completely (but do so gently and try not to do a cold stretch, go for a walk and then stretch). If it goes on for a while, then yes, see your doctor.