Problem in uploading code to Arduino board

Hi, I am using Arduino ATmega8 board with RS232 serial port for communication and trying to upload the code but i am getting the error as


Binary sketch size: 710 bytes (of a 7168 byte maximum)

avrdude: stk500_getsync(): not in sync: resp=0x00 avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51


Kindly tell me how to overcome this error

Looks like you've chosen the wrong board from the list. Make sure you have the correct one.