Install all the recommended drivers from your manufacturer & make sure you update Windows to the latest from now on. Blue Screen of Death (BSoD) usually happens when something has gone bad. BSoDs happen when the computer can’t go on and either happen due to a hardware error or a low level software error like a bad driver. BSoD is a “catastrophic failure” that Windows can’t continue with. It’s usually a driver issue or hardware problem. Overheating can cause it as well. Loose memory will also do it, as will a failing video card.
Only solution is to take a paper and note down the error code that is after STOP & the message that Windows shows like SOMETHING_SOMETHING as Vignesh B pointed out above. Then only something can be said/done about your problem.