What do I do?

Megan

I’ve had what feels like to me intense cramping. While this is happening it feels like I have to poop. Sometimes I do poop. But I don’t know if it’s bad gas cramps or not. What should I do? It’s been going on for almost 30 minutes at this point. Anytime I feel okay to lay down a couple minutes later the cramping starts back up again