I don't have a GPU because I'm using this as I save up but every so often when I'm playing a game or even just using Google, this will happen to my pc screen and I have to shut down or restart the pc to fix it. Please can someone help.
If you are using the IGP of the 7600X what memory are you using with it?
List full system specs.
Ryzen 5 7600x
32 GB team group 6000mhz 30cl ddr5 ram
Rog b650-a gaming motherboard
Crucial p3 plus 2tb SSD
Lian li gallahad 240mm SL inf aio
Msi mpg 850w PSU
Have you tried leaving the memory at default speed? (disable EXPO/XMP)
I suggest you watch the CPU temperature closely - it could be running too hot and you might need to either improve your CPU cooling (I would think that the AIO would be good enough) or under-volt it a smidge to reduce power consumption. The integrated graphics cores and their temperatures are the part to focus on.
Also, if you have another monitor to try (maybe borrow one from a friend just for testing) or if you can swap DP or HDMI cables, it would be nice to remove the monitor from being a possible cause.