Why did you reformat your PC - is it because of this problem and you hoped that it would cure it. From the limited symptoms that you have described (ie you can't turn it back on for a few hours) it would most likely appear to be a hardware issue PSU, MB or CPU fan. Each of these sub components have built in safeguards which will sometimes prevent you turning th PC back on.