Masturbation=Headache 😰

So I've had the same vibrator since Christmas. I've never had any problems, but about a week ago I was using it and mid orgasm I had a sheer heart reaching pain go through my head for about two minutes. It was the worst pain I had ever felt. I thought maybe I strained something in my neck or head, but now every time I use it and I get close to orgasm the pain comes back just not as bad. This shock of pain was out of no where and I couldn't move when it happened and all I could do was hom my head and pretty much scream. Has anyone else had this done before? What was it. Or do yall have any ideas?