Question Need help with crashing PC

Dec 9, 2019
23
1
15
Hey guys, i really need help, built a pc 2 days ago (RX 580, Ryzen 5 2600x, 8gb ram, 500W PSU, ASRock B450M-HDV R4.0) windows works, everything seems good unless i launch a game, when I loauch CSGO it opens goes to the menu and the screen turns to one color and crashes and 'no imput' shows up, the pc is still on however.. anyone know what is happening? I alredy updated bios and gpu drivers.