Compression of the breast is necessary to obtain clear images and may cause temporary discomfort. The compression lasts only a few seconds for each image.