Check the error code associated with the BSOD (Blue Screen of Death). In newer versions of Windows this will have a name like 'Error_System_Thread_Exception_Not_Handled'.

With a working computer, use your preferred internet Search Engine to search the error code along with the words 'how to fix' or 'what causes' etc.

Chances are it's a reasonably simple error. Occasionally it can be caused by a hardware fault or Mother***rd BIOS settings.

If the simple fix listed online doesn't solve the problem and you're averse to opening up your computer (or warranty is still valid) then consider contacting the manufacturer or a computer repair centre.