Help I need some advice

What is the secret to closing down an iMac using 9.0.4.
The desk top has lost its icons & I have no idea which keys to press to shut it down or restart or can I just turn off the power at the wall.
Faye