What you'll need
Choose the Healing Brush and set the mode to Heal. Check Visualize Spots and adjust the Threshold to reveal the right amount of contrast in the inverted image. This will also show textures in your image, so be careful to edit just the spots you want to remove.
Adjust the brush size to fit the area you want to touch up. Use the bracket keys ([ ]) to resize the brush from your keyboard. Drag over larger imperfections such as hairs or scratches. Click to heal small areas such as dust spots.
Pinch to zoom in, or use the Hand tool (press spacebar and drag) to pan and focus on the area you want to edit.
The Healing Brush takes the shading and color of the sample area and applies it to the area you want to fix. To change the sample source, drag the circle to a new area of the image.