The surest way to eliminate risk for genital HPV infection is to refrain from any genital contact with another individual.
For those who choose to be sexually active, a long-term, mutually monogamous relationship with an uninfected partner is the strategy most likely to prevent genital HPV infection. However, it is difficult to determine whether a partner who has been sexually active in the past is currently infected.
It is not know how much protection condoms provide against HPV infection, because areas not covered by a condom can be infected by the virus. Although the effect of condoms in preventing HPV infection is unknown, condom use has been associated with a lower rate of cervical cancer, an HPV-associated disease. - (Health24, August 2011)
Source: National Cancer Institute