Getting vaccinated against HPV. The HPV vaccine is effective in preventing the strains of HPV that cause most genital warts and cervical cancers. Using condoms consistently and correctly to reduce the risk of transmission. Limiting the number of sexual partners. Regular screening and check-ups for sexually active individuals.