It sounds like your laptop is experiencing a hardware issue, specifically with the cooling system and possibly with the graphics card. When the fans are running continuously, it's an indication that the laptop is overheating, which can cause the system to shut down or freeze.
There are a few things you can try to troubleshoot the issue:
- Clean the laptop's internal cooling system: dust and debris can accumulate and block the air vents, preventing the heat from dissipating properly.
- Remove the battery and unplug the power cord, press and hold the power button for 20 seconds, and then release it. After that, reattach the battery and plug in the power cord, and turn on the laptop again.
- Check the thermal paste between the CPU and the heat sink to make sure it's not dried up or hardened; if it is, it might cause the CPU to overheat; this is best left to professionals.
- Check the power supply and the power cord, and make sure they are working properly.
- Run a hardware diagnostic test on your laptop; if the test shows any issues, you may need to get it serviced.
- If none of the above solutions work, it's best to take your laptop to a professional repair shop or contact the manufacturer for assistance.
It's also important to note that if your laptop has a fixed battery, it could be a safety risk, and you should not attempt to open it or remove the battery yourself; that's why it's best to take it to a professional repair shop.
Also, due to the nature of the problem, it's important not to use the laptop until it has been properly diagnosed and repaired to prevent further damage.