Smart advice here.

First, I'd get a can of compressed air and blow that sucker out, especially CPU can case fans, etc. You probably have a heat issue caused by dust buildup, and it's likely a fan going bad. While you could repair/replace it, it's probably not worth it.
But start shopping for a new computer. You can get a pretty cheap computer now that will be tons faster and more reliable compared to what you have.