During a Pap test, a healthcare provider will use a speculum to open the vaginal canal and then collect cells from the cervix using a small brush or spatula. The sample is then sent to a laboratory for examination under a microscope to look for abnormalities.