I get ocular migraines. Used to get the headache and a few other symptoms when I was younger, thank goodness I don't anymore. After the 'light show' in my eyes, which last 20-30 minutes, I usually have a dull headache for a while.
Still it's a good idea to have your eyes checked if you're due just to be on the safe side.