My Laptop is dying

Its been having overheating problems when ever its not used with a cooling pad underneath, but now the CPU fan has completely died. It only takes around 30 minutes of intensive use to cause the CPU to overheat and shutdown unexpectedly. We’ve been four years together and now its dying on me :-(