Hip and pelvic bone pain running

Ca

I'm 24 weeks and lately when I go on long walks or try to run (slow and short distances) my hips or my pelvic bones hurt (like the bones around my crotch).

I was a runner pre-pregnancy and was hoping to continue a little bit, but now it hurts just going for walks.

Tips?