Most cases of cervical cancer are caused by human papillomavirus (HPV). HPV also causes many cancers in other parts of the body, such as the oropharynx (the base of the tongue, the tonsils, and the back of the throat), vagina, vulva, penis, anus, and rectum, although it doesn’t always cause cancer. You can get HPV by having sex with someone who is infected with it.