Yes. You can get HPV from anal sex, vaginal intercourse, oral sex, or simply by sexual contact. HPV and genital warts are usually spread by direct skin-to-skin contact during vaginal, anal, or oral sex with someone who has been infected with HPV. Using condoms every time you have sex can help protect against HPV, but they aren’t perfect because HPV can be found on skin that isn’t covered by a condom.