Leg cramping

Sierra

So I got a steroid last week I’m 26 weeks, the doctor did the steroid to just mature her lungs in case she doesn’t reach full term, I got a shot in each leg but the past 3 days only one leg is in a terrible throbbing and it hurts to walk or even put pressure on it. Should I be concerned and go to the doctor or was it just the shot going into my muscle 😖