Does the human papillomavirus go away on its own, or does it stay in your cells forever?

Go away on its own. Vast majority of people are able to eliminate hpv infection on their own without need for any intervention. It stays in the cells in small number of people ~20%, and can be a causative factor in cancer.