Haven't personally undergone this, but this is from a previous post on the same subject.
Your cervix is slightly stretched and a camera inserted into your womb. Teeny tiny camera. You will have no ill effects afterwards unless a general anaesthetic is used, in which case you may feel groggy for a few days. They will do this is they need to do a biopsy.