Assuming someone does not do anything it could take a few years to generate immunity to HPV. If someone follows the author's recommendations, it takes only a few months to generate immunity to human papilloma virus. The longer someone is infected with HPV virus, the more likely it could cause damage. Therefore it is best to establish resistance and eliminate HPV as quickly as feasible.