Ay I wasn't sure if the help support was only for gunz questions so I decided to ask here lol

So when I was in florida my system would crash sometimes randomly , then that blue screen saying crash dump with some error fX00000000 something like that would happen , and I would need to restart my pc , sometimes it would crash right even before windows start lol , then I went to brazil for a while like 5 weeks or 4 , then I came back to florida and started my pc and suddenly it would just say "No Operating system found" or No boot found something like that and would ask me to insert a boot cd for windows probaly windows cd , so I started using Kali Linux with my usb cuz i do pentest but I really dont wanna have to buy another windows cd , I tryied restoring it to factory settings and still would say that no OS was found like wtf , did this ever happen to anyone? Do I have to buy a new windows cd to get to use my pc again without kali linux? ):