My laptop sometimes boot normally but sometimes not
Product: Pavilion cx0xxx
Operating System: Microsoft Windows 10 (64-bit)
I have laptop pavilion 15 cx0xxx. My laptop used to boot normally but now i have problem to boot up. Sometimes it works normally and there is no problem. But sometimes i try to boot my laptop, it try to boot, i even hear fans but it turn off and then it try to boot again and its repeats again. And there was one more problem. It works normally and then my screen glitched or goes black but laptop doesn't turn off. I have no idea whats wrong.