Cramping

I’m 27 weeks and I’m having this cramping and tightening sensation in my lower abdomen that last more than few seconds then it gets better. I’ve had it for a couple minutes now and I’m just wondering if that’s BH or maybe just gas?