If you see the blue screen of death at startup, it may be due to a bad application, a driver problem, or other hardware issues that cause problems at boot time. If you can, Google's Stop Code will appear and you can see if it gives you any information about the errors.
Chances are, you'll need to boot into safe mode to fix the problem. In the past, this was a simple process in Windows 7 because you only had to press the F8 key when booting the PC. In later versions of Windows, this has become much more difficult. However, if you interrupt the boot process three times, for example For example, pressing the reset button while Windows is trying to boot will take you to the Auto Repair screen, which you can click Advanced Options.
Alternatively, you can create and launch a Windows installation drive from a friend's PC by selecting your language and choosing "Repair your computer" if you receive the option. Finally, using both methods, you should reach the Select Option screen, where you can click Troubleshooting> Advanced Options> Startup Settings and restart your computer. (If the Startup Settings option does not appear, you may need to click "View more restore options" below.)
Your computer should then give you the option to start in safe mode, in safe mode with network, or in secure mode with Command prompt. You can try these options, although the safest mode is the least, since you probably do not need to access the Internet. Windows is only loaded with the most important drivers and services.
If you recently installed new hardware, try uninstalling the drivers. If you believe that a new application could be to blame, remove them as well. You can even try running System Restore to try to get your PC up to the last known working configuration. Restart the PC normally to see if the problem has been resolved. If not, you can re-enter Safe Mode or continue with one of the next troubleshooting steps in this guide.