The onset of pain under any circumstance shouldn't be ignored. I highly recommend that you pay a visit to your doctor as soon as possible.
That said, I'm not sure why your post bears the title "Stroke". Strokes usually present over the course of several hours and involve a plethora of neurological symptoms, like confusion, difficulty speaking, memory loss, sudden lethargy, tingling or numbness down one side of the body, and sometimes a sharp pain in the head.