If you are just getting started with Arduino it would be beneficial to go through our introductory power points on using Arduino.