What does it mean?

Caitlin

I’ve been having cramps and when I just went to the restroom, there was some spotting in my panties. 31 weeks pregnant with my first. Any ideas?