How do i stop this cramping 😓

Nicole
I'm 31 weeks and I'm having cramping it's not miserable but it's just annoying and it hurts a pretty good bit heating pad not working at all ...HELPP.?