Hey there. As said above, your health and safety matters most. If you feel that you might not be able to cope out in the world at the moment, I think you need to do what you feel is right for you right now. School can be worked out later. But yeah, might be worth talking to a therapist, pdoc, GP or family about all the options. They should be able to help you out
Hope you're able to feel a little better soon, if you need to talk