Both of these issues are usually referred to as The Blue screen Of Death.

The cause of a BSOD can be one of many things, such as a faulty power supply, bad drivers, viruses or other faulty hardware.

The best course of action is to let us run diagnostics over the machine to pinpoint the cause. After this a solution is not far away!