New Arduino Mega

I just bought new arduino mega, I connected it to my computer and it was not recognized by my computer. I re-installed the driver through the device manager. Now the computer recognizes the arduino, however, it is not letting me upload any programs. I am receiving the following error.

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

Why is this happening?

It is also connecting through com5 is that OK?

Thank you in advance for any help you can give me.

Under "Tools" go to the Board menu and select the Mega board you have. I think it defaults to Uno.

I have tried every configuration under "boards"

I am still getting the same error...

connect Your board to usb and press reset button-> did it blink few times on pin13 led?