Hello and welcome,
Thanks for your query.
From your description, there could be quite a few possibilities. There is a chance of having worms, or even a disorder called Irritable Bowel Syndrome
). It is a good thing there is no blood in your stools. Also do you experience any other symptoms?
But, then again this could be stress-related as well.
It would be best to rule out any chances of an infection or worms first. This can be done by getting your stool analysed. This test will show the presence of any worms or their eggs in the stools, or any excess of any other bacteria that can cause an infection.
If any of these are present, they can easily be treated. Once, these are ruled out, we could look into other possibilities.
Kindly visit a Gastro-enterologist once all other options have been ruled out.
I hope I have succeeded in answering your questions, you could write back to us anytime for further clarifications.