Here's the secret of not getting headaches. Don't get hit so much. When you're at home or at the gym practice defense, even make a point to your trainer and sparring partners if you have a certain thing you want to work on (e.g. slipping punches, ducking, footwork, and blocking)

There was one fighter that stood above the rest when it came to defense and that was Benny Leonard. He was a Jewish boxing with a nose that could turn a plane but in over 222 fights he never a busted looking nose or any of the distinguishing features associated with many boxers.

Here's a couple of his secrets, think ahead, talk to yourself if you have to. It's like when you're drivinh and you're thinking where you have go, in boxing terms you think like this, "after I slip his jab I'm going to come off with a hook to the outside" Benny Leonard was one of the fastest thinking boxers that beat all his opponents in a hall of fame time because he never missed any details that he'd exploit and he had an excellent defense.

Getting back to defense work on defense all the time, it should come first. Right now best choice is a shadowboxing and getting these defensive maneuvers drilled into you. You should also practice it in sparring so you can really develope a feel for it and be able to do it right off the bat from now on.

Also if your headaches are prolonging you should see a doctor. If you get headaches from something else it could be related to fatigue (being out of shape), dehydration, or something else.