Need Error Help For College Course

Me and my college class are taking a course in animatronics using the Arduino ATMEGA328 and we are all getting the same error when we attempt to upload.

This is the message we get:
avrdude: stk500_getsync (): not in sync: resp=0x00
avrdude: stk500_disable (): protocol error, expect=0x14, resp=0x51

If you have any ideas or know what has happened please let me know thank you

Typically this happens when the wrong serial port has been selected.

I changed serial ports in the tools menu and still received the same error message

The trick is to change it to the right one. Also check the right board is selected in the tools menu.