Tobacco damages your lungs' ability to ward off infection.Vaccines may help prevent pneumonia in children, the elderly, and people with diabetes, asthma, emphysema, HIV, cancer, or other chronic conditions.A drug called palivizumab (Synagis) is given to some children under 24 months old to prevent pneumonia caused by respiratory syncytial virus.Flu vaccine prevents pneumonia and other problems cau