Thank you for your query,
Your child seems to have Gastroenteritis
due to a bacteria or a protozoal.
Give sips of oral rehydrating solutions like ORS, coconut water to prevent dehydration
should be given orally after consulting your Doctor.
Consult your Pediatrician
for the evaluation with stool investigations and appropriate treatment including antibiotic if required.
Hope I have answered your query.