During the procedure, a healthcare provider will insert a speculum into the vagina to widen it. This allows them to collect cells from the cervix using a spatula or brush. The sample is then sent to a laboratory for examination under a microscope to check for abnormalities.