 - Preventive vaccines against other infections. Preventive vaccines prevent a person from getting a disease. Preventive vaccines have been developed for many diseases, including, for example, whooping cough, measles, mumps, influenza, and hepatitis B. Some preventive vaccines may also prevent a disease from taking hold if given immediately after infection, such as vaccines for rabies, smallpox and hepatitis. 