Contractions!

Angela

Woke up this AM to roll over and had a horrible contraction that I couldn't move thru and had to just breathe. Within 2 hours had two more but they weren't as bad. I'm 23 weeks today but babys measuring 3 weeks ahead. What could have caused this?