Auto-shutdown due to internet virus.

Hello and good day!
My friend send me a rar file through messenger. I ve downloaded it but i didn't scan the file. After a extracting it, my computer crashes and it shutdown automatically. So i think its an internet virus. so guys, is there a way to delete this virus on my computer? any help would be nice thank you and good day
