You can visit your doctor just to ease your mind.
Headaches felt like ice pick are known as Idiopathic stabbing headache characterized by brief, sharp, severe jabbing pains about the head that occur either as single episodes or as brief repeated volleys.
The pain resembles a stab from an icepick, nail, or needle and typically lasts from a fraction of a second to 1 to 2 seconds.
You can have 1 attack per year to 50 attacks per day.
These pains are usually felt in orbit, temple, parietal area.
Can be triggered by rapid alterations in posture, physical exertion, bright light, and head motion during migraine attacks (usually present in migraine sufferers with aura).