There is a lot of possible reasons, but the most important thing is to get the computer back working, in my opinion. You might want to read online resources to learn how to fix mac won't boot, as this is the first step to solving this. After that's done, move on fixing the issue that resulted in this malfunction.
Q