39+4 - anyone know what this is?

Tightening/heavy feeling in upper abdomen with sharp pain in cervix/vagina/rectum. It lasts for 30-40 secs and comes every 8-12 minutes. Once it settles down, I then feel the need to urinate and poop.