I'm sorry you're having panic attacks. I'm also sorry about your parents divorce. Don't try to be perfect, just be yourself. Be the best as you can be.
I suffer from panic attacks, so I can understand. I'm going through the same thing, my parents getting a divorce, and school, so if you want to ever talk, my inbox is open.
Just be who you are, you don't have to impress anyone. All you have to do is make yourself happy. Just don't step on anyone on the way to happiness.
Don't try and be perfect, because that'd a goal that is simply unattainable. What may be perfect to someone else is a different view for every other person you look at, so just do the best you possibly can, and if you're having trouble with something ask for help. Maybe take to a school counselor.
Awww I'm sorry about you're parents getting divorce. Mine have been for almost all of my life so if you ever need to talk to somebody feel free to message me.
Your panic attacks are probably from the stress of the divorce and school. I suffer from them on a weekly basis, so if you'd like someone to talk to, my inbox is open.