Thank you for your query on Healthcare Magic.
Your child is having gastroenteritis
And the diarrhea will take some time to subside like 3 to 5 days with the prescribed medication.
In mean time you maintain the hydration of the child by giving frequent breastfeeding
, sips of oral rehydration solutions like Pedialyte
Monitor hydration by his activity, urine output, and skin turgor.
Nothing to worry, continue the medication as advised by your Pediatrician
Hope I have answered your query.