This error occurs due to the following reasons:
Faulty RAM, registry errors, incompatible drivers, hardware failures, faulty BIOS configuration, Viruses.
Follow the steps below to avoid the BSOD error message occurs again.
Check whether the RAM installed in your computer complies with the motherboard specs. Replace the RAM if needed. You can also check the systems with a friend's RAM to know whether the error message is due to RAM.
Use a free registry cleaner/fixer software available to clean/repair your windows registry. (
Ccleaner is good at this)
Do not install incompatible device drivers. Install only Microsoft Signed drivers. Update your existing driver software from the corresponding device manufacturer's website.
If you have installed/changed new hardware, check whether it is supported by your system. Also check whether it is installed properly. If needed test the systems without the faulty hardware. Check whether you've installed correct/signed driver software for that particular hardware.
If you have reconfigured your system BIOS, set it to default/optimal/recommended settings and test the system. Disable features like BIOS caching.
Use an original and up to date antivirus system like Norton, McAfee or Kaspersky and run a full systems scan.
Keep your windows updated with current patches and fixes to protect the systems from unwanted troubles.
All the best.