These pains could be any number of things, including ice pick headaches. You can find more info on these headaches in Ice Pick Headaches - The Basics.
You really need to see your doctor. Unexplained head pain should always be investigated, and the only person who can safely answer your question is a doctor who can discuss your medical history and family medical history with you, discuss your symptoms with you, and examine you.
We hope you find this general health information helpful. Please note however, that this Q&A is meant to support not replace the professional medical advice you receive from your doctor. No information in the Answers above is intended to diagnose or treat any condition. The views expressed in the Answers above belong to the individuals who posted them and do not necessarily reflect the views of Remedy Health Media. Remedy Health Media does not review or edit content posted by our community members, but reserves the right to remove any material it deems inappropriate.