Assuming one does not do anything it could take a couple of years to generate immunity to HPV virus. If someone follows the writer's recommendations, it takes just a few months to develop immunity to HPV. The longer someone has HPV, the more likely it can trigger cervical damage. Therefore it is best to generate immunity and remove human papilloma virus as quickly as feasible.