I went through your complaints. It does not look like a serious problem for you to get concern and tensed up. Diarrhea
alternating with constipation
and passing mucus in the stools are the common features of amebiasis
. Have your stools examined microscopically and take a course of anti amoebic whether your stool examination is positive or negative. For few days avoid spicy food, coffee, hot drinks and milk.
Frequent bland diet, hygienic water and tension free life are advised.
The above said are the general advise. If you don't get alright with this -
You can do investigations like USG abdomen, routine blood tests, endoscopy
- step by step - to find the exact cause and treatment accordingly
Finally you don't get this problem in the house. Outside tension may be linked with this. Find the cause for the tension and get relieved of it.