Open photo in Windows Photo.

Select Rotate, Icon with dot and an arrow circle around it.

Turn the photo until it is in the correct direction.

Save photo again with different name.

Boom,...