Severe constipation/trapped gas? Or something else?

Lanie • First baby due Sept 23rd 💙

I was awake throughout the night with severe lower abdominal pain. Thinking it’s constipation and bad gas build-up, but not 100% sure. Was able to poop a tad in the middle of the night and then again once I got up and that second time changed the pain... Went to sharp pains on both sides instead of the constant pain mostly on the left side. I’m drinking coffee to help as well and ate some Raisin Bran.

Feeling better now with minimal pain but I’m so paranoid something is wrong with the baby. Should I go to urgent care or wait it out?