It is necessary to check whether its components are overheating, whether everything is in order, whether there are any problems at the operating system level. If the problem lies precisely in the hardware - weak for the tasks performed on the laptop, the only solution can be an upgrade.