Cramps

Yasmin
I'm 28+6 weeks pregnant and yesterday I had the worst pain in my tummy after I emptied my bowels, it was kind of like a cramp and I could sit down or even move, it lasted for about 5 minutes, does anyone know what this could be?