Hi there and welcome
This is usually a sign of clogged up air vents making the laptop overhear.
Can you power it off please then remove the charging cable
then use a vacuum cleaner on the airvents to get all the dust removed.
Once done, start it up again and tell me now it now performs please