Probably have you heretofore endured a runny nose? Perchance did you recover from the infection? Of course you got over it! You cannot treat an acute rhinitis itself, yet your immune system usually establishes immunity to a particular cold virus within several weeks. We call that healed by your own immune system!
HPV is the same since HPV virus is just one more infection. Therefore you will normally create resistance to HPV virus. Nevertheless, HPV virus is much better at evading your body's immune system compared to the runny nose viruses. Moreover you have to persist a little harder to develop immunity to HPV virus.