Some vertically transmitted infections can be prevented if the mother gets vaccines before getting pregnant. These infections include HPV, chickenpox, measles, and rubella. However, while these vaccines are common in developed countries, many people in developing countries do not have good medical care and cannot get vaccines.