HPV vaccines are used to prevent HPV infection and therefore cervical cancer.
Good evidence supports that vaccination of large percentage of people within a population decreases rates of HPV infections with part of the benefit from herd immunity.
Some types are recommended in the United States for women and men who are 9–26 years of age, and are approved for those who are 27–45 years of age.

Since the vaccines only cover some high-risk types of HPV, cervical cancer screening is recommended even after vaccination.
In the U.S., the recommendation is for women to receive routine Pap smears beginning at age 21.
HPV vaccines are used to prevent HPV infection and therefore cervical cancer. Good evidence supports that vaccination of large percentage of people within a population decreases rates of HPV infections with part of the benefit from herd immunity. Some types are recommended in the United States for women and men who are 9–26 years of age, and are approved for those who are 27–45 years of age.
Since the vaccines only cover some high-risk types of HPV, cervical cancer screening is recommended even after vaccination. In the U.S., the recommendation is for women to receive routine Pap smears beginning at age 21.
HPV vaccine