Stomach pain

Elizabeth
I'm currently 34w 4d. I have terrible stomach pain. I'm pretty sure it's gas but not 100%. I have diarrhea and have been really gassy all day. But the pain right now is almost unbearable. Anyone else feel like this? What should I do?