Thanks for writing your query.
After reading your post, it seems that you might be having infection of the gastrointestinal tract.
Your doctor has correctly advised for stool examination. You should follow his advise.
This will help in knowing whether infection or parasitic infestation is the cause of your symptoms.
You may need an antibiotic and antiamoebic depending upon the reports of the investigations.
Till the time your reports come, you can take an antacid
40mg once a day before meals along with a probiotic
Eat light meals prepared under hygienic conditions. Also take care of your hydration.
I hope this is helpful to you.