HPV vaccines protect against high-risk variants of human papillomavirus (HPV) that are linked to cervical, anal, oropharyngeal, and genital cancers. Since most sexually active people will contract HPV during their lifetime, vaccination is recommended for all. The HPV vaccine is approved for people ages 9 to 45 and ideally should be given prior to any sexual contact. In young teens through age 14, it is administered in two doses six to 12 months apart. People over the age of 14 need three doses given within a six month timeframe.