Avrdude error programmer is not responding

the code is being compiled properly for arduino nano board but while uploading the sketch to the board its giving me avrdude error that the programmer is not responding.

C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\arduino-builder -dump-prefs -logger=machine -hardware C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware -hardware C:\Users\acer\AppData\Local\Arduino15\packages -tools C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\tools-builder -tools C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr -tools C:\Users\acer\AppData\Local\Arduino15\packages -built-in-libraries C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\libraries -libraries C:\Users\acer\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328old -vid-pid=1A86_7523 -ide-version=10813 -build-path C:\Users\acer\AppData\Local\Temp\arduino_build_910193 -warnings=none -build-cache C:\Users\acer\AppData\Local\Temp\arduino_cache_787201 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr -verbose C:\Users\acer\AppData\Local\Temp\untitled275174426.tmp\sketch_oct29a\sketch_oct29a.ino
C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\arduino-builder -compile -logger=machine -hardware C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware -hardware C:\Users\acer\AppData\Local\Arduino15\packages -tools C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\tools-builder -tools C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr -tools C:\Users\acer\AppData\Local\Arduino15\packages -built-in-libraries C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\libraries -libraries C:\Users\acer\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328old -vid-pid=1A86_7523 -ide-version=10813 -build-path C:\Users\acer\AppData\Local\Temp\arduino_build_910193 -warnings=none -build-cache C:\Users\acer\AppData\Local\Temp\arduino_cache_787201 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr -verbose C:\Users\acer\AppData\Local\Temp\untitled275174426.tmp\sketch_oct29a\sketch_oct29a.ino
Using board 'nano' from platform in folder: C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\arduino\avr
Detecting libraries used...
"C:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_910193\\sketch\\sketch_oct29a.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Generating function prototypes...
"C:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_910193\\sketch\\sketch_oct29a.ino.cpp" -o "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_910193\\preproc\\ctags_target_for_gcc_minus_e.cpp" -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_910193\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_910193\\sketch\\sketch_oct29a.ino.cpp" -o "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_910193\\sketch\\sketch_oct29a.ino.cpp.o"
Compiling libraries...
Compiling core...
Using precompiled core: C:\Users\acer\AppData\Local\Temp\arduino_cache_787201\core\core_arduino_avr_nano_cpu_atmega328old_a3a92a8fb27db4951e46ae6b889ca6f8.a
Linking everything together...
"C:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\tools\\avr/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_910193/sketch_oct29a.ino.elf" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_910193\\sketch\\sketch_oct29a.ino.cpp.o" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_910193/..\\arduino_cache_787201\\core\\core_arduino_avr_nano_cpu_atmega328old_a3a92a8fb27db4951e46ae6b889ca6f8.a" "-LC:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_910193" -lm
"C:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\tools\\avr/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_910193/sketch_oct29a.ino.elf" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_910193/sketch_oct29a.ino.eep"
"C:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\tools\\avr/bin/avr-objcopy" -O ihex -R .eeprom "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_910193/sketch_oct29a.ino.elf" "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_910193/sketch_oct29a.ino.hex"
"C:\\Users\\acer\\Downloads\\arduino-1.8.13-windows\\arduino-1.8.13\\hardware\\tools\\avr/bin/avr-size" -A "C:\\Users\\acer\\AppData\\Local\\Temp\\arduino_build_910193/sketch_oct29a.ino.elf"
Sketch uses 444 bytes (1%) of program storage space. Maximum is 30720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
C:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr/bin/avrdude -CC:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM4 -b57600 -D -Uflash:w:C:\Users\acer\AppData\Local\Temp\arduino_build_910193/sketch_oct29a.ino.hex:i 

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:\Users\acer\Downloads\arduino-1.8.13-windows\arduino-1.8.13\hardware\tools\avr/etc/avrdude.conf"

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

avrdude done.  Thank you.

Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

Select Tools > Processor > ATmega328P from the Arduino IDE's menus and then try uploading again.