Final Step: Now one horizontal line is straight, but this picture still has issues. Because the camera was angled slightly downward, the vertical lines appear to narrow toward the bottom of the image (in the previous step, they don’t line up with the grid). Fix this with Transform sliders. Grab the one to adjust Vertical Perspective, moving it right until vertical lines are more closely aligned with the grid. For the horizontal lines, which narrow on the right side of the picture, slide the Horizontal Perspective slider slightly right. You should only need to move these sliders in tiny increments to fix your image. Then turn off the grid to check your work
to get free software for making and downloading lens profiles.