Please help :)

I keep getting this thing where I can’t breathe and it’s really painful, I can’t move and sharp pain goes through my body and my chest gets tight when I try to breathe. It lasts 3-4 minutes, does anyone know what it could be ? it’s been happening a lot in the past year. ( I’m 15 btw ) and it’s really annoying because me and my friends were in school and we had to get up and leave for class and I just couldn’t move or breathe and I didn’t know how to explain what was happening :( ?