Prevention strategies include vaccinations (such as influenza and pneumococcal vaccines), good hygiene practices, avoiding exposure to tobacco smoke, and managing underlying chronic conditions effectively. For genetic conditions like cystic fibrosis, genetic counseling may be beneficial.