My period struggles

It hurts to poop on period like sharp pain, I’m basically scared to poop on my period so I avoid it. I end up sweating really bad, fainting, headaches, throwing up, and hyperventilating. Today in school I was shaking and I couldn’t calm myself down I felt so weak physically. And usually when I overheat on my period I end up passing out but I felt so close to doing that. Also today I was wearing a tube top and some wide leg pants so I should’ve been burning up but I always do, even when I fanned myself it didn’t help at all. Anyway now I’m dying on the toilet so send help thanks👍🏾

Oh I forgot to add should I go to the doctor?