As soon as you turn the laptop on, press Alt+f10. This should bring you to the recovery console. From there you should be able to restore it to factory settings. Keep in mind that it will delete all of your files, i.e. programs you installed, documents, photos, etc... Be sure to back those up.