i really have a big problem with my pc,
yesterdag my computer started crashing it said : update windows security options or something like that and it was loading so i restarted my computer and then after 1hour again my windows crashes and it kept doing that , but then why i try to restart the computer it just says beep and its black screen with some white pointer ,
then i rememberd that i have some windows 7 on a cd , so when i put it in my laptop it says wanna run setup.exe , so it got burned correctly , when i put it in my pc it doesnt do anything else , again black screen, maybe i got hacked or virus ?

then i think i needed to reset my bios , so i pressed Delete , and it asks for a password so i cant get in it , can someone help me plz
My motherboard : Asrock Z68 Pro3 gen3