Thanks for your query.
Your child is having diarrhea
which is mostly viral in natue and takes few days to settle.
I suggest you to give oral rehydration solution after each loose stools,give lemonade,yogurt,banana,rice porridge.
Give lactobaccilus for 2 to 3 days,and zinc after consultation with your doctor.
Monitor his hydration,watch for urine output.
Wishing your child good health.