Bathroom question??

I don’t know if this is the correct group to post this in so correct me if i’m wrong. Just a heads up, this post is going to be a little TMI, but it’s been happening so much I need to know i’m not the only one! So for the past few weeks, I’ve been having weird stomach issues when it comes to going to the bathroom. I’ll be constipated for a few days, then for the next few days after that my stomach will hurt and get real crampy and i’ll be in and out of the bathroom all day. And every time I go, barely anything comes out. I’ll just keep going all day a little bit at a time. It makes my stomach cramp up so bad though. It’s really getting in the way of work constantly running back and forth to the restroom. I was just wondering has this happened to anyone else while pregnant? I’d like to know what I can do to fix this problem! TIA! And sorry for the TMI🤢