error message avrude atk500

I’m very green with Arduino programming and asking for some help with solving these errors. The error messages are:

avrude: atk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x5d

problem uploading to board.

I have loaded various servo code on the Internet and all of these sketches show errors when uploaded. Any help is greatly appreciated.

//www.RobotLinking.com
//2015.5.7
/************************************************/
#include <Servo.h>
/************************************************/
Servo myservo;//create servo object to control a servo
/************************************************/
void setup()
{
  myservo.attach(9);//attachs the servo on pin 9 to servo object
  myservo.write(0);//back to 0 degrees 
  delay(1000);//wait for a second
}
/*************************************************/
void loop()
{  
  myservo.write(15);//goes to 15 degrees 
  delay(1000);//wait for a second
  myservo.write(30);//goes to 30 degrees 
  delay(1000);//wait for a second.33
  myservo.write(45);//goes to 45 degrees 
  delay(1000);//wait for a second.33
  myservo.write(60);//goes to 60 degrees 
  delay(1000);//wait for a second.33
  myservo.write(75);//goes to 75 degrees 
  delay(1000);//wait for a second.33
  myservo.write(90);//goes to 90 degrees
  delay(1000);//wait for a second
  myservo.write(75);//back to 75 degrees 
  delay(1000);//wait for a second.33
  myservo.write(60);//back to 60 degrees
  delay(1000);//wait for a second.33
  myservo.write(45);//back to 45 degrees
  delay(1000);//wait for a second.33
  myservo.write(30);//back to 30 degrees
  delay(1000);//wait for a second.33
  myservo.write(15);//back to 15 degrees 
  delay(1000);//wait for a second
  myservo.write(0);//back to 0 degrees 
  delay(1000);//wait for a second
}
/**************************************************/