Why this question is important: The HPV vaccine available in the United States protects against nine types of HPV infection. If you've already been treated for HPV-positive cancer, getting the vaccine will not have an effect on the course of that particular cancer. However, it could protect you against a new infection from other types of HPV that you haven't been exposed to yet.