My macbook is shutting off out of no where?
Okay, so I bought a used macbook. It's black and it's an OS X. The version is 10.5.8.
After I bought it, I noticed that the fan was making loud noises when I used it too long. I know it is normal for it to overheat after a long period of use but it doesn't just overheat, the fan starts making a weird grinding noise. I thought that it was just dirty and it wasn't affecting the way my computer was running, so I just ignored it.
It has been almost a year now since I first bought it used and the fan has gotten a lot quieter, but just starting last week I was watching a movie on Netflix and right in the middle of my movie, the computer just randomly shut off. I figured it was overheating. But, even after it had cooled down, I went back to watching my movie and within 10-15 minutes, it did it again!
Do I need a new fan? Or do I just need it cleaned?
Will it cost anything for either of those?
(Also, my computer starts to go really slow before it shuts off.)
MacBook, Mac OS X (10.5.8)