Arduino uno error avrdude

my code

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

error while uploading to Arduino UNO

avrdude: Version 6.3-20190619
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.49.0_x86__mdqgnx93n4wtt\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : COM3
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xf5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xf5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xf5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xf5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xf5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xf5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xf5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xf5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xf5
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xf5

avrdude done.  Thank you.

Problem uploading to board.  See https://support.arduino.cc/hc/en-us/sections/360003198300 for suggestions.

Try the steps below:

Step 1:
Install the board's core via the Arduino IDE:
· Tools > Board > Boards Manager

· Search for "Arduino AVR Boards"

· From the drop-down menu select latest version

· Click "Install/update"

· Wait for installation to finish

· Click "Close" and restart your IDE.

. Plug your board back to the computer and select the board and port via tools.

See https://www.arduino.cc/en/Guide/Cores
Note:

  1. Use a data USB cable capable of some 480Mbps and do not use a USB hub.
  2. Remove anything wired to the board.

Step 2: ( Use this if step 1 above fails to solve the problem)
Put your board in bootloader mode by double tapping the rest button (one of the onboard LEDs will fade in and out slowly). While it is in this mode, upload an example sketch from the IDE, say BlinkLED into it, if upload is successful, then tap the rest button once afterwards to exit the bootloader mode.

Next upload the same sample code normally to the board without tapping the reset button, if successful, your board can now be programed with your own code normally.

Step 3: ( Use this if the two steps above fail to solve the problem)

  1. Update the USB drivers in the computer if using windows by following the instructions at https://www.arduino.cc/en/Guide/DriverInstallation. For a clone board, see CH341SER.ZIP - 南京沁恒微电子股份有限公司