During a Pap smear, a healthcare provider uses a speculum to widen the vagina and then collects cells from the cervix using a brush or spatula. These cells are transferred onto a glass slide or into a liquid medium for examination under a microscope.