The exam does not hurt. In some cases, your doctor will use eye drops to widen (dilate) your pupil before the scan. This gives the machine a better view.
During the scan, you rest your chin on a small support to keep your head steady and look at a fixed point inside the machine. You might notice a faint red line moving across your field of view. That is the scanner at work. The whole exam takes about 5 to 10 minutes, and the machine never makes contact with your eye.
If your eyes were dilated, they may be sensitive to light for a few hours and your vision might be slightly blurry, but both effects wear off on their own. Your doctor will go over the results with you and explain what the images show.