Cervical cancer screening is usually part of a woman's health checkup. There are two types of tests: the Pap test and the HPV test. For both, the doctor or nurse collects cells from the surface of the cervix. With the Pap test, the lab checks the sample for cancer cells or abnormal cells that could become cancer later. With the HPV test, the lab checks for HPV infection. HPV is a virus that spreads through sexual contact. It can sometimes lead to cancer. If your screening tests are abnormal, your doctor may do more tests, such as a biopsy.