Hell! Thanks for putting your query in HCM. I am a Gastroenterologist (DM)
I think you are suffering from acute infectious enteritis
that is the infection of Gut that's why you are having diarrhea
You have to keep your hydration level well by taking lots of fluid and juices.
Take a course of antibiotics like combination of ofloxacin
I hope I have answered your query. Getwell soon ,remain in touch