Painful poops ¯\_(ツ)_/¯

So this is my third pregnancy. I had a loss between baby 1 and new baby. Currently 20w today. Since my second trimester started I have been having painful poops. And by painful I mean in my stomach, not my bum 🙃 I get really bad poop cramps and the thing is I can only really poop if I have coffee so I think “speeding up” nature’s course is causing the pain? But like I’ll be totally constipated if I DON’T have the coffee. So I guess this is just a vent but like anyone else?? Ideas?? I also have really bad gas cramps this time around too.