Pulled a muscle?

I'm 25 weeks and laying in bed, I went to move and I guess I used stomach area mucscles to move and got a god awful pain in the uterus area. It almost felt like I had pulled a muscle or something. Did anyone else have anything else like this? Hurt so bad it has me scared of what contractions are going to feel like lol.