1? Restart the computer
If it is an occasional attack, restarting the computer will probably return to normal, which is a piece of cake for the system!
2? Forced shutdown and restart
If you still can't get into the system after restarting, try to turn it off and restart it forcibly, which may solve the problem!
3? Check system files and memory.
If it is still inaccessible, it may be that the system file is lost or there is a big problem with the system memory!
4? Enter safe mode
At this point, you can try to press F8 to enter safe mode, select advanced startup options, and then select the last correct configuration. Maybe a miracle will happen!
5? Overall anti-virus
If it still doesn't work, start the computer normally in safe mode, and thoroughly disinfect it after reaching the desktop to see if there is any malicious software!
6? Clear the memory slot.
If you can't do it again, you must unplug the video card and memory stick, wipe it clean with an eraser, then wipe the slot dust and fan clean with a brush, and even try to replace the memory stick!
7? One-click recovery or reinstallation system
Finally, if all the above methods fail, you can only consider "one-click restore" or "reinstall the system". I hope your computer will recover soon!