Thank you for your query,
This episode of frequent, sticky, foul smelling loose stools are looking like due to infection.
Give stool for routine examination, for cysts and ova to look for giardiasis
, entameba and stool for culture and sensitivity to look for any growth of pathogenic bacteria.
Give sips of oral rehydrating solutions, add probiotic
and zinc supplementation after consulting your Pediatrician
Stool examination will guide the line of treatment.
Hope I have answered your query.