Please help, I’m in so much pain !!😭

I have IBS-D and ever since I got pregnant, the flare ups have been BAD. I’m currently having one and my stomach is in excruciating pain and I have constant diarrhea. The pain is enough to make me lay in the fetal position and cry. No joke, it feels worse than labor did with my first. what can I do to help it while pregnant?! I’m hopeless!