Hello dear 
Warm  welcome to Healthcaremagic.com
I have evaluated your query in details  .
*  This may be from intestine infection or hepatobiliary disturbances .
*  Primary guidelines for better outcome
Consume plenty of liquids  in form of boiled water , lemon juice , coconut water , home made juices , organic  tea , coffee , butter  milk  etc .
Prefer soft , light  , bland , vegan  diet  with fresh  curd  preferably .
Avoid  all types of  oily , spicy , non veg , hot beverages , junk foods , dairy fat , milk  till recovery .
Intake of PPI  ( as 
omeprazole ) , antibiotics  ( with 
metronidazole on pack ) 
Racecadrotil as an anti secretory agent helps faster recovery , which requires prescription with your doctor .
Wishing you fine recovery .
Feel  free  to ask any further doubts .
Regards  .