Gas pains while pregnant.

Does anyone else get like gas cramping lately? I’m 24 weeks and a couple of days and I notice I have a lot of gas which gets trapped like in my bladder and then makes me cramp until I fart basically is happens soooo much lately. Does anyone else get this? I’m also getting cramping if I wait to long to pee.