What’s causing this?

I’m 37 weeks tomorrow but I’ve been having pain in my inner thigh to my knee on my right side and since yesterday my pelvic bone hurts to even touch but only on the right side. I have such a hard time walking and going up and down stairs. Does anyone know what could be causing this?