Computer Freezing for a few minutes every few hours?

Keepoint

Honorable
Feb 5, 2014
1
0
10,510
Basically my pc had a burnt out motherboard a few months back so I had a computer store fit it with a new one, but at a random point , it could be straight away or days between, the computer stops responding, no lights on the keyboard or anything , but then it comes back and does not do it for a while , but today it black screened , the mouse turned off , so did the keyboard but the pc seemed to remain on, it then rebooted? please offer any advice you can

System Specs;
AMD A8 5600K 3.6 gHz
4gb RAM
Hd 7560d integrated graphics
gigabyte F2A55M-HD2 motherboard