Thanks for posting your query.
If this is of only recent onset, infection has to be ruled out. A stool analysis has to be done.
But if this has been for a long time and has been recurrent, then irritable bowel syndrome
is a possibility.
A complete blood count
, stool analysis, blood glucose and thyroid
function test may be done.
Meanwhile you can consider taking probiotic