Simply draw a line across the photo, and the image will automatically straighten to match the line you’ve drawn.
Before you do anything else, make sure your photo isn’t crooked. If your image is slightly off kilter or has a crooked horizon, use the Straightening tool to level things out. Simply draw a line across the photo, and the image will automatically straighten to match the line you’ve drawn.