23 weeks pregnant

Today I am 23 weeks pregnant and the was experiencing bad hip and pelvic pain and so I went to my OB and he checked the babies heartbeat and checked my cervix and made sure baby wasn't in my pelvis but has anyone else experienced bad hip/waist/ pelvic pain for 2 days. What was the cause?