Every now and then, you may come across an image with a spot or two that doesn’t look right. Consider the image below.
It has a red square in the middle of a textured background. While you can clone neighboring pixels and paste them over the red square, an easier way is to use Photoshop’s Content-Aware Fill option. Just select the area (red square, in this case) and then do Edit > Fill as follows:
making sure to select “Content-Aware” in the Use field. Hit OK and here’s what you get. Nice! You can’t even tell the red square was ever there!