Why I cant upload sketch to UNO plate

I wrote the code and when I tried to upload it to my UNO but this thing happend

Arduino: 1.8.19 (Windows 10), Board: "Arduino Uno"

Sketch uses 1790 bytes (5%) of program storage space. Maximum is 32256 bytes.

Global variables use 204 bytes (9%) of dynamic memory, leaving 1844 bytes for local variables. Maximum is 2048 bytes.

C:\Users\Admin\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude -CC:\Users\Admin\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf -v -patmega328p -carduino -PCOM3 -b115200 -D -Uflash:w:C:\Users\Admin\AppData\Local\Temp\arduino_build_745967/sketch_feb4a.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\Admin\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"



         Using Port                    : COM3

         Using Programmer              : arduino

         Overriding Baud Rate          : 115200

avrdude: ser_open(): can't set com-state for "\\.\COM3"



avrdude done.  Thank you.



An error occurred while uploading the sketch



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

I tried to restart PC disconnect and connect UNO but nothing helped.

Have you actually got a COM3 on your PC ?
Does Windows recognise the board when you plug it in ?

yes

Have you turned off your computer and restarted it?

Yep tried that too, doesn't helped.

Try and install the latest version of the IDE, then install the board package core (see https://www.arduino.cc/en/Guide/Cores ) and use a good quality data USB cable (do not use a USB hub or USB 3.0 port) connect.
Note: Make sure that you select the board and COM port before uploading a sketch.