Welcome to HCM,
From your history it seems that you might be having acute gastro-intestinal infection, either bacterial or amoebic.
Go for stool test
to know the cause of the problem.
After report you may go for ofloxacilin, tinidazole
combination treatment as your doctor will prescribe.
Take light diet.
Take buttermilk, curd, rice.
Ok and bye.