[SOLVED] New PC keeps FREEZING

Jul 7, 2019
1
0
10
Ok so ive built my pc a month ago with the help of a friend. and the first few days it was freezing but not that often, maybe like once every 30 minutes and only for like 5 seconds each freeze. I didnt think much of it and continued on with using the pc. The next two weeks my pc almost never froze. And now its been 2 days that my pc has been freezing a lot, almost every 1-10 minutes. and about 10-30 seconds each freeze. if i try shutting it down or restarting it takes ages. I really dont know all too much about PCs but what i do know is i do not want all the money i put into this pc go to waste. SO PLEASE HELP ME PC GODS.
here are the specs
corsair vengeance 16 gb ram
radeon rx 580 gpu
evga 600w power supply 80 plus bronze
wd blue 500 gb hdd
128 gb adata ssd
ryzen 5 2600x processor
gigabyte b450m ds3h