Tobacco damages your lung's ability to ward off infection.Vaccines may help prevent pneumonia in children, the elderly, and people with diabetes, asthma, emphysema, HIV, cancer, or other long-term conditions:A drug called Synagis (palivizumab) is given to some children younger than 24 months to prevent pneumonia caused by respiratory syncytial virus.Flu vaccine prevents pneumonia and other problem