Period Pain

sometimes i’ll pass out because my period cramps are so bad. i’ll have have flashes and won’t be able to move. I’ll pass out for only a couple seconds but it’s only when i’m on my period. it happens like once every 7 periods