problems uploading

I have this message coming up when uploading to the Arduino Uno

Arduino: 1.8.2 (Windows 10), Board: "Arduino/Genuino Uno"

avrdude: ser_open(): can't open device "\.\COM1": The system cannot find the file specified.

Problem uploading to board. See for suggestions.

dose anyone know how to fix this by any chance and help would be thankful

Select the port corresponding to your Arduino from the Tools -> Port menu. windows will assign new port numbers if you plug it into a different port.

If that menu is greyed out, that means you don't have drivers for the Arduino installed, or there's a hardware problem. If you're using a clone arduino instead of an official one, it probably has a CH340G USB-serial adapter; the drivers for that are not included with the IDE - google will find you the CH340G drivers for your operating system.

when i chose the right port it worked thank you for the help