It seems from the history that you are having headache with attacks of black outs of vision, fainting
These symptoms indicate primary headaches
. Since CT scan is also normal this confirms the diagnosis of migraine.
The treatment of the migraine is by using analgesics and anti-inflammatory drugs in acute phase and use of prophylactic drugs like flunarizine
to prevent recurrent attacks.
Hence I advice you to consult your doctor for examination for confirmation of diagnosis and treatment accordingly.