Help 34 weeks

So I was laying on my side and got a huge cramp for 10 seconds or so but it went away not sure if it's gas or what... I'm 34 weeks