Have you had this?

So little back story. A week or so ago I had my vibrator going. As I orgasmed I got a very painful headache in the back right side of my head. Fast forward to the past couple nights I was having sex with my husband and as we both finished I got the very painful headaches again. I drank water and took aspirin but it still lingers for hours. This time the pain was in the back left side

Have you ever had that happen? If so how did you handle them?

Thank you.