The sample code is under Examples > Basics > Blink

Check this link,

http://arduino.cc/en/Tutorial/Blink

, and below youtube tutorial