To diagnose cervical cancer, doctors do a few tests. These include a physical exam, a pap test, and an HPV test. They might also do a biopsy, a colposcopy, and an endocervical curettage.