For babies younger than six months, it's best to avoid sunscreen and rely on shade and protective clothing. For older infants and children, use a broad-spectrum, water-resistant sunscreen with at least SPF 30, applying it 15-30 minutes before going outside and reapplying every two hours or after swimming or sweating.