Period cramps at 20 weeks pregnant?

. I literally have cramps EXACTLY like my period is gonna start. Almost like I have to poop but pooping doesn't help But definitely period cramps. They're constant too, not coming in waves or anything and not getting any better. And I have a lot of white and clear discharge which is normal I guess. I guess I'm just scared because it feels literally identical to my period. Like it hurts. and I keep expecting to go to the bathroom and have my period lol. the pain is even radiating down to my legs and my back. But mostly on the left side. It's been a half hour and it's not getting better it's been constant pain it hurts really bad I'm nearly in tears. I'm also getting gas.