There are at few possibilities:
1- Insufficient or flaky power from your power supply. Replace/upgrade power supply.
2- CPU fan not spinning. Correct/replace.
3- Memory errors (run
memtest86)
4- Overclocking? Stop it.
5- A high current load on the same circuit (like a laser printer). Move it to another circuit.
6- A misbehaving PCI card (remove them one at a time).
7- A motherboard mounting post in the wrong place. Remove it.