Thanks for writing your query.
After reading your post, it seems that you are having infection in your gastrointestinal tract.
You should have light meals and take plenty of rehydrating fluids.
You can take an antacid like Omeprazole
20 mg along with Domperidone
10 mg once a day before meals. Antribiotic like Ciprofloxacin
500 mg twice a day along with antiamoebic like Metronidiazole 400 mg thrice a day will help to control the infection. Also take a probiotic
Pain can be relieved by taking antispasmodic like Dicycloverine
You should get yourself clinically examined and take any medicine under medical supervision only.
I hope this is helpful to you.