Panic Disorder and Social Anxiety

I'm 17 years old and I suffer with a Panic Disorder and very bad Social Anxiety. I'm from Canada and I would like someone to help who is from Canada. I was really curious if I can do my high school courses online? It's that bad I barely attend school,not because I don't want my education I know how important it is but because I feel very uncomfortable around the other students like it's horrible :( when I feel uncomfortable I start to have a panic attack and its a lot to deal with. You don't know how bad it is till you have it! Is there any way? I wanna get my education