what to do when your child has an ear infection