mi pc's knackered, i aint got a clue whats wrong with it, it keeps starting and stopping on its own, i'll switch it on then it'll let me on for a few minutes then turn itself off

its not a virus my mate ruled that out last night....what could it be???
suggestions gratefully recieved
(thats if i can get back on to read them

)