Try search for "restarts" on this site, quite a
few threads and may help but suggest:
-check memory fully inserted, especially if computer moved recently (make sure youre earthed).
-could be overheating, check fan running ok and maybe also dust etc now clogging thinks up,
-ensure virus definitions upto date and run virus scan just in case.
-for bios beeps info try click here