You dont say whether this is a laptop or desktop but either way, if its only just started doing this, it likely that your cmos battery has failed.
Re-start and press F1 when to go into the BIOS set up. If the clock settings have gone back to 00:00.00 then the cmos battery is dead.
This is an easy fix on a desktop, more difficult on a laptop.