If you have a CD, boot from that and use it too repair your system. If not try as many function keys as you can from F5 to F12 as I dont know your manufacturer of your computer/laptop. Windows 8 if installed correctly should have a repair function to restore itself. You can always change the bios from UEFI to legacy to get the option of the advanced boot options (black screen) too repair your system