Whether you have JPG, HEIC, BMP ... which is just next to the File menu. There, you will see a Rotate drop-down menu. Use that menu to rotate the image. It also lets you flip an image vertically ...