Vaccines to prevent influenza and other forms of pneumonia are available. They help give some protection against potentially deadly lung infections.