Peradventure have you hitherto suffered through a runny nose? Maybe did you do away with the issue? Obviously you survived it! You will not treat a cold directly, however your system generally creates immunity to a certain cold virus within a couple of weeks. That is called being cured by your personal immune system!
HPV is the same because human papilloma virus is just another virus. Therefore you will most likely develop resistance to human papilloma virus. Nevertheless, HPV is much better at concealing from your body's immune system than are the cold virus infections. So you must work a little harder to acquire immunity to HPV virus.
https://edwinxbhc591.edublogs.org/2021/04/07/can-hpv-be-cured-in-females/