A virus (human papilloma virus). Some types of HPV cause genital warts, cancer of the cervix (women) or the testicles (men) and cancer of the mouth or throat. Girls and boys can get a vaccine before they are sexually active. This will protect them against infection with HPV when they are older. HPV is a sexually transmitted infection (STI).