Thanks for writing your query.
After reading your post, it seems that you might be suffering from dehydration
due to continuous loose motions.
I would advise that you should take care of your hydration.
You should also take an antacid
40mg once a day before meals along with an antibiotic and antiamoebic.
will have added benefits.
You should eat foods that are prepared under hygienic conditions.
I hope this is helpful to you.