Infection prevention Infection can be prevented by advising patients to avoid environmental exposures and not giving them live-virus vaccines (eg, varicella, rotavirus, measles, mumps, rubella, herpes zoster, yellow fever, oral polio, intranasal influenza vaccines) or BCG (bacille Calmette-Guérin).