Period like cramps

What does it mean when I get period like cramps?? Very uncomfortable. I’m 30 weeks.