Temporary loss of peripheral vison followed by a bad headache. What does this indicate?

Many possibilities. Migraine headaches often present with prodrome which could effect vision, but i would want to know how often this happens and if there are other associated symptoms as could also be something more serious. Talk to your doctor who will probably want to do some tests to rule out many possibilities.