You getting random restart/freeze or totally bluescreen? Try to update every driver and in you windows update too, also you can verify your CSGO files in steam. (Right click on CSGO -> properties and on menu local files try verifying).
Also what’s your PC configuration?