Has anyone else experienced this??

Celeste

So for the past year or so about once or twice every month my stomach will be in excruciating pain along with diarrhea a few times a night. Idk if it’s from my period or not, but it’s never lasted more than 2 days. However, it’s the 4th day I’ve woken up in the middle of the night several times with gut wrenching pain and diarrhea, I can’t walk unless I’m hunched over bc of how terrible the pain is. Has anyone else experienced this? If so what is it and how can I ease the pain?