HPV vaccine is an inactivated (not live) vaccine which protects against four major types of HPV. These include two types that cause about 70% of cervical cancer and two types that cause about 90% of genital warts. HPV vaccine can prevent most genital warts and most cases of cervical cancer.