Have you tried uploading the example sketches?
My advice is to grab your Arduino and work through the simple examples on this site, such as good old Blink
. Then grab a servo and a potentiometer and work through the two servo examples, namely Sweep
I really think that to start, you have to get your mind how an Arduino program hangs together and how a servo is controlled.