Thanks for writing your query.
After reading your post, it seems that you are having infection of the gastrointestinal tract and needs medical management.
You should get your stool examined for any infection or parasitic infestation.
I would advise that you should take an antacid like Omeprazole
40mg once a day before meals along with an antibiotic like Ciprofloxacin
500mg twice daily along with Metronidazole
400 mg thrice daily.
will have added benefits.
Some of these medicines are prescription drugs and you can contact your doctor for it.
I hope this is helpful to you.