Cramping at 31 weeks

I have been having this period like cramping that lasts for hours for the last couple days. I haven't had any spotting or anything but I don't know if I should be concerned or if it's just stretching. This is the first pregnancy I've had to make it this far and I don't want to be overreacting