Has anything changed on your computer? Have you added or taken away hardware or software?
It could be overheating if a fan has stopped working or it could be faulty ram memory.
Are you able/confident enough to check the ram by removing and replacing sticks one by one? Do you know how to do this safely?
Also please list details of your pc make model etc. and if XP or W98se or Vista even