Not sure

So I’m 15 weeks and I’ve been having horrible (poop?) cramps for about 4 hours now. They come and go but are suuuuuper intense. They feel like poop cramps, but I don’t feel like I need to go to the bathroom.

I’ve also notice today that I have globs and globs of mucas discharge?

I don’t want to go to the er if I’m just constipated! Which I think might be the case. Just worried about the mucas happening at the same time.