tirtha87 had recently posted having problems with the desktop icons disappearing and reappearing and now(assuming its the same computer) the restarts. It might be a vundo infection and/or some more malware might have been downloaded to the comp. If its not a hardware problem(clean the ram maybe), post a
HJT log, then try running
VundoFix
But some more info, like an error message or something, would be helpful.