Have you seen a doctor about this? It sounds like you may be getting migraines. Is there any history of them in your family? Go to your doctor and ask about getting a migraine preventative. There are several options. If the medication doesn't work after a few weeks, go back to the doctor and ask if you should get an MRI or CT scan to rule out anything more serious. If the medication does work, then you'll know it is migraine and you probably don't need the scan.