So im creating a project with a relay for turning on and off 5 seperate lights. and every time i try to upload to my arduino i get an error message saying "An error occurred while uploading this sketch"

error code:
Arduino: 1.8.15 (Windows Store (Windows 10), Board: "Arduino Uno"

Sketch uses 1186 bytes (3%) of program storage space. Maximum is 32256 bytes.

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

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.49.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avrdude -CC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.49.0_x86__mdqgnx93n4wtt\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM3 -b115200 -D -Uflash:w:C:\Users\Lukas\AppData\Local\Temp\arduino_build_782895/sketch_jul07d.ino.hex:i

avrdude: Version 6.3-20190619

     Copyright (c) 2000-2005 Brian Dean,

     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

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
(i am a new user so i cant upload files)

Please post your sketch. You don't have to upload anything to do that.