Thanks for query.
From your history there are two possibilites,
1,there is abdominal muscle strain
resulting into spasm.
2,having renal colic
as you have spasmodic pain in left abdomen and having frequency of urination.
Go for urine check up to rule out urinary problem.
Take some pain reliever with muscle relaxant
Take plenty of water.
Ok and bye.