You need to run some medical tests to diagnose your condition according to the symptoms. First, you need to check your nervous system with EEG. You can also need to do magnetic resonance imaging, head computer scan, X-ray computer scans (Scan CT).
Doctor, I have a headache that repeats for a while, and it's very painful, and I think I have a migraine.