Most of headaches are not dangerous and brain scan in unnecessary. There is absolutely no use of exposing yourself to radiation. Headache that is associated with certain other symptoms may be further investigated with brain scan and your doctor will definitely tell you when it is needed.