Condoms are less effective for STDs transmitted by skin-to-skin contact, such as human papilloma virus (HPV, the cause of genital warts and cervical cancer) and genital herpes, than for those diseases transmitted through body secretions, such as HIV, gonorrhea, and chlamydia.