A practitioner 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 minutes. Results can sometimes take several weeks, however. It is not painful, just a little crampy.
Answer assisted by Marianne Di Napoli, Medical Student