Chosen Solution

After turning on and using my laptop for sometime, I just hear a clicking sound and it turns off completedly. I then try tu turn it back on, but it clicks and turns off. I have to leave it like overnight to turn back on, but it will only remain on sometime and the same would iccur again.

Sounds to me like it might be a heat problem. I would recommend using a program like AIDA64 (https://www.aida64.com/downloads) to see what temperature the CPU is running at. AIDA64 also allows you to so a stress test (Force your CPU to 100% load). You can then keep an eye on the temperature to make sure it doesn’t go over what the CPU manufacturer recommends. I would stay under 70C