Noob question time.

I've noticed looking through here that sometimes 'Set' is used with a variable and other times it isn't. Is there a proper time and place to use 'Set'? When should I use/not use it?