Problem when uploading code to arduino nano

Hi there,
I was trying to upload code to my arduino nano and it says:

avrdude stk500_getsync(): not in sync resp=0x30

I've tried burning a bootloader to my nano but it says unable to burn to arduino nano.
I've checked if my com ports are correct and they are.

Please help,
Randy