To help prevent ear infections, you should:
Maintain good hand hygiene
Avoid exposure to secondhand smoke
Keep vaccinations up to date, including the pneumococcal and influenza vaccines
Avoid prolonged exposure to loud noises
Dry your ears thoroughly after swimming and bathing
Treat allergies promptly and effectively