You should really check your system. If something like that has happened, there is a serious problem. The typical culprits are
- power supply
- disks
- SATA cables
If you don't change anything, there is a big risk that you will face problems (perhaps bigger) again.
Also, please provide hardware information as detailed as asked for in the forum rules.