Some vaccines are safe during pregnancy, while others are not recommended. The influenza vaccine and the Tdap vaccine (tetanus, diphtheria, and pertussis) are recommended during pregnancy to protect both the mother and the baby. However, the HPV vaccine is not recommended during pregnancy, and the MMR vaccine should be given at least one month before becoming pregnant.