How do I turn shapes?

Say I have a rectangle, or ball, or anything. How do I get it to go from being vertical to being horizontal by simply turning the shape?

Oh btw, I’m the biggest nub in the universe. :
But I’m trying… :frowning: