What you do is go over the machine in detail about BIOS, drivers and re-do heatsink work and clean it up. If it still hangs you know this machine well enough to see if it's mixed memory sticks and/or another new motherboard call.

Again, a common sight at repair counters. Machines like this are usually just a few years old.