 For example, migraine is a type of primary headache.While primary headaches may cause significant daily pain and disability, they are not dangerous.Secondary headaches are caused by an underlying disease, like an infection, head injury, vascular disorders, brain bleed or tumors.