Pain and then vision goes black

So I am 9 weeks 3 days and since the beginning I have had light pain on my right side like near the groin area. And 3 times in the last week or so when I have went from laying to standing I feel like a light "pop" (I really dont know how to explain it, it's also not my hip cracking) in that same area and then my vision goes black and fuzzy and I see black spots for a few minutes after and then everything this fine.

I'm wondering what could cause this?