The specs are an i5 9600k, msi z370 motherboard, rx580 8gb graphics card, and i updated the mobo bios using my friends cpu but the computer will randomly freeze while playing games or watching youtube and i cant figure out why
Also ive noticed it freezes when i have multiple things open, such as i can run discord app alone, and i can run games such as overwatch alone, but if i try to have both open then it will freeze
Try using the computer with only one stick of RAM installed at a time as well as running MemTest (https://www.overclockersclub.com/guides/memtest86_memory_guide/) on each stick to see if RAM isn't the issue.
I have already tried using one stick of ram and i tried it with both but i havent tried using memtest yet, ill try it, i just did a fresh install of windows and its still freezing also