Apart from these, sinusitis, brain cancer, coital cephalalgia, spinal or vascular headache, encephalitis, etc., are the other potential causes. A person suffering from sharp pain in head, that persists for more than a couple of hours, should consult the doctor immediately.