Applying an old principle of black and white film photography that it is better to get the image right at the time of shooting, rather than depending on manipulating in the darkroom, I limit my editing of digital images.
For a photo of an early 19th structure along the C & O canal I could not get far enough back and I had to tilt the camera up, resulting in considerable converging of vertical lines.
I used software to straighten the lines resulting in, unfortunately, cropping of the building.
But much more disturbing was the distortion of the second story windows.
At least I was able to get undistorted images of the end and canal side of the building by crossing the canal.