Thank you for your query,
Is your child exclusively breastfed?
Are you giving any bottle feeding?
Diarrhea is uncommon in exclusively breastfed infants is uncommon and it is common in bottle fed babies because of top feeding, contamination while handling.
Continue the medication as advised by your Pediatrician
and you can add probiotic
and zinc after consulting your doctor.
Continue frequent breastfeeding
, give sips of low osmolar ORS like Pedialyte
sips, monitor hydration by activity, urine output.
If loose motions are persisting consult again and evaluate with stool investigations like routine, culture and for reducing substances.
Hope I have answered your query.