Chronic loose motion along with irregular bowel movements could be due to irritable bowel syndrome and or due to infections. Having food at regular intervals can help solve problems with gastritis and indigestion.
Next Steps
It's necessary to undergo a motion test for ova and cyst and occult blood. Also take bland diet without spices and chillies for a couple of weeks preferably a homemade food. You can take gelucil syrup for gastritis.
Health Tips
Having foods in road side shops can greatly increase the chance of getting bacterial and other intestine infections. Also wash fruits and vegetables thoroughly when consuming it raw. And constipation and irregular bowel movements due to improper diet can be normalized with high fiber diet, regular diet intake and 3 to 4 liters of water per day.