@jespah,
agreed - you need to help yourself first - this would be true in almost any situation.
A wise doctor once told me - are you taking care of yourself? Are you getting enough rest, etc.? This when I had very young children. She explained if you are not well rested you will not be a good mother to your children.
Same thing here - if you are not well cared for - feeling good - it is more difficult to be a supportive friend.
Have you sought out help for yourself - I think you could definitely benefit from meeting with a counselor. My daughter has had anxiety issues - she has been seeing a counselor who helps her develop methods that teach her how to manage her anxiety.
In the past 4 or 5 months I have seen a different teen - she is now fully engaged in school and with her friends. She still has anxiety and still meets with her counselor but she has a better grasp on how to handle it and how to speak with her teachers so she can work out what she can do in the classroom to manage this.
A counselor can help you learn how to manage this - what can trigger it and what to do when it hits you.