Awful tummy ache this AM

Ti
Woke up having the constant pains every couple minutes. Like bad gas or something. Had to go sit on a toilet for 20mins hoping I can just "let it out". Well I went....completely normal. Soooo why did it hurt so bad? Ugh