Ice Pick Headache

I've had an "ice pick headache" all day meaning I'm feeling a sharp pain in my head (the back right side) that lasts maybe 2 seconds at the most. How can I get rid of it without any medication?