On/Off Button

How do u make it!! i need a really good clear tutorial or some instructions from u guys, The one from smartwebby is confusing