HPV passes from person to person through touching. You get the types of HPV that cause genital warts by having sexual contact, including oral sex, with an infected person.