Over-the-counter medicines for diarrhea may be dangerous for babies and children. Talk to your child's healthcare provider before giving your child these medicines.