Weird cramp

So I was laying down and got up fast and my right side had a sharp tight feeling. So I sat back down and it went away. No signs of bleeding yet. Any ideas what happened or if this has happened to you?