Imaging studies such as cranial CT scans or cranial MRIs are done to rule out a brain tumor. A spinal tap, or withdrawal of cerebrospinal fluid using a thin needle, will reveal increased intracranial pressure. If enough fluid is removed, the headache will often be relieved, further confirming the diagnosis.