33 weeks and gas

I'm almost 33 weeks pregnant and I can't pass gas like, I feel terribly bloated and my stomach is cramping really bad, although it releases when tiny farts or burps happen.... Any suggestions... It hurts really bad....