Hi welcome to Health care magic forum.
Thanks for calling H.C.M.F.
Your abdominal pain
appears to be due to renal colic
. other possibilities are appendicitis
, infection in the intestines, etc.
Any lower abdominal pain can cause urge to pass stools, or urine frequently.
I advise you to consult a gastro enterologist to exclude the possibility of appendicitis.
You may have to take C.T.scan of whole abdomen besides other routine tests for confermmation.
Except appendicitis other possibilities does not require surgery, they can be cured with a course of medicines.
Wishing for a quick recovery.