Most of the time, HPV goes away by itself within two years and does not cause health problems. It is thought that the immune system fights off HPV naturally.
It is only when HPV stays in the body for many years that it can cause these cancers. It is not known why HPV goes away in most, but not all cases.
Content Source: Division of Cancer Prevention and Control, Centers for Disease Control and Prevention