Let's say you turned your brand new digital camera to get a vertical shot,
now some of your images are on their sides. Right click on the image,
and follow the menus
Image → Transforms → Rotate 90 degrees CW.
Using an APOD image. I rotated it once to demonstrate. 90 degrees CCW.