Thanks for writing your query.
After reading your post, it seems that you are having infection of the gastrointestinal tract and needs urgent medical attention.
You can take antacid like Omeprazole
40 mg once a day before meals.
Antibiotic like ciprofloxacin
500 mg twice a day along with antiamoebic like metronidazole
400 mg thrice a day and a lactobacillus
preparation will help in controlling the infection.
Also take care of your diet. Also maintain hydration.
If the problem persists, get your examined clinically.
I hope this is helpful to you.