Round ligament pain ??

This morning I woke up had to pee after I got done I went to lay down on my right side I got a really sharp but dull pain in my lower stomach pain from my belly button to the left side I went to turn over to get out of bed and it felt like it was going to my hips and when I did get out of bed when I started to walk I felt pain in my groin area I’m 35 weeks.. it came out of nowhere it went away but not sure what it was?