Let's start with some Ryzen system basics and have you share the Web Speccy report.
1. The BIOS SHALL be current. Some push back on this and for those we don't accept them into the repair shop. This is non-negotiable because it's fixed so many over the years.
2. The drivers SHALL be what the maker calls out. No relying on Microsoft or driver finders.
3. Fans and heatsinks are checked and then the temps are monitored.
With those basics out of the way, share a Web Speccy and let's see if it shows us something to work on. Be sure to note any oddities like an Windows Activation Crack, prior ransomware or malware issues.
Read how to share the report at https://www.piriform.com/docs/speccy/using-speccy/publishing-a-speccy-profile-to-the-web
Please, I don't know what else to do.
One day last week, my PC started crashing all programs suddenly starting with Chrome, shortly before going to the black screen of Death.
I first formatted the hard drives to see if that was the problem. Nothing. Anti-virus scan? Nope. Then I used benchmark and it told me my CPU, GPU, and RAM were dying, so I decided to replace those.
In the end, everything but the HDDs is new. Last night, when I booted it for the first time, and today morning, everything worked just fine. Then 30 minutes ago, it all started crashing again! Please, I don't know what to do! Do I have to get new drives?
The PC runs normally for about 3 minutes before becoming super slow then crashing. With this I can't even create a Windows 10 USB to boot another drive.
Motherboard: Asus PRIME A430M-K
GPU: GeForce GTX 1050 ti
RAM: 2x4 GB DDR4
CPU: Ryzen 5 2600
PSU: EVGA 500W
Drives: Toshiba 1TB and WD Blue 1TB