The three most common causes of this sort of issue are overheating, hard drive problems, and problems with the memory.
First, you should begin by ensuring that your notebook is clear of dust and debris.
I would also suggest running the built in diagnostics for the hard drive and memory. If you're unsure how to perform these diagnostics you can find instructions
Once you can rule out these hardware causes it will be much easier to determine the cause of the problem.
I will keep an eye out for your response
Please click the score button if you found this helpful