Help!! 22 weeks. I'm getting painful cramps if I have gas or if I have to go #2.

I also feel like I might be having ligament pains. I feel this pressure/cramp in my lower abdomen and on my sides. Not sure if this is something to go see a doctor about.. 
What are your thoughts?