Panic attacks!!

So I am 13 and I am on my period. While I’m not on my period I am fine but when I am on my period I have panic attacks all the time. Some times they get so bad that I have to leave school. My cycle is about 4-6 days and I have at the least 1 a day. Any tips on how to stop this from happening!