If you want to rotate an entire layer, choose Select > All. Then skip to step 4.
You may want to use a different selection tool depending on the shape of the object you want to select.
To rotate the image, position the pointer outside the border - the pointer turns into a curved, two-sided arrow - and drag.