1, if the computer presses the power button, the signal light will still light up and the screen will light up, then the computer is probably just a software problem, and there is no hardware problem;
2. The software problem that can make the computer restart all the time may be that the computer is infected with a virus or the system file is damaged. For software problems, we can press the F8 key at startup to open the advanced options menu and select "Last Correct Configuration".
3. If all the above methods are useless, then the simplest and rudest solution is to reinstall the system;
4. For hardware problems, there are many kinds of hardware problems that cause the computer to restart constantly, such as insufficient power output, too high CPU temperature, damaged cache, loose graphics card and so on. It is suggested that this computer should be repaired.