Your computer is likely suffering from malfunctioning RAM. In order to fix this, you need to open up your device and replace the RAM modules. Try replacing one at a time and restarting until you find the module that was causing the problem. You can learn how to do this using this guide.