Cracking sound and pain in my groin area

So am 33 weeks and of late, when am turning in bed, I get such pain in my groin like a bone is breaking when I separate my legs slightly. It is so hard to watch sides with legs together. The pain is so much I feel like it is tearing. What do I do to ease this?