I would recommend reading through this post and trying all the different advice there:
This specific error can be caused by several different reasons, so it’s important to try different things to fix it. On the other hand, if it keeps persisting even after trying all the steps, I would recommend taking your computer to a local technician so they can make sure everything is okay hardware-wise.