A doctor will visualize the cervix
by inserting a speculum into the vagina, then will use a little brush to take a sampling of cells from in/around the cervix. The entire procedure only takes about 2-3 minutes. Results can sometimes take several weeks, however.
Answer assisted by Marianne Di Napoli, Medical Student