PERSPECTIVE CORRECTIONS
Start with an image where the perspective needs correcting
Make sure you have plenty of grey space around the picture
Select all (Ctrl+a)
Transform (Ctrl+t)
Press Ctrl while dragging the corners to straighten
Press Enter when finished
Crop if...