Masturbation and head aches 😠😩

Okay for the last couple of days each time I masturbate I get the worst head ache ever! It's like someone's pounding on the inside of my skull! It hurts so damn much! It's there all the time but it's so much worse when I'm rubbing my clit trying to orgasm! I'm
On my period but I get cramps and having orgasms tends to help with this but now I get head aches! It's honestly sucks! Is it normal or what? Can someone please help me?!  This is driving me insane honestly!!