Gas??

Is it normal to cramp with a lot of bad gas? I thought I had to poop (sorry tmi) but have tried going a few times all night with no luck but have ALOT of gas. I keep having painful cramps .. Like constipstion cramps. Anyone know ways to help? I'm super uncomfy with this