Funny thing about alcohol and my headaches...
My "danger zone" starts a few days before the, uh...woman problems, and generally lasts a couple of days afterwards as well. I try to be very very careful with my alcohol intake during this time. However, once I get the headache, having a glass of wine with dinner doesn't make it worse or longer. Beer will often make it worse, or is more likely to trigger the headache - some beers moreso than others. Brown liquors have also been known to trigger the headache. Sweet liquors or cocktails are really bad.
BUT...and this is weird...gin and vodka have sometimes made my headache go away! As I said, once I have a headache, I'll sometimes just say eff it and have a class of something - I already have the pain so I might as well let my mouth enjoy a nice glass of wine. One night, I was in a really eff it sort of a mood and I had a martini (a proper one - not one of these horrifyingly sweet cocktails that they call 'martinis' these days.) The headache was gone by the time I finished the martini! And this has happened more than once. Vodka or gin is not a reliable medication, but it does sometimes actually stop the headache.
I'll still get a headache during my danger zone even if I'm really good about avoiding my triggers, but they're not as bad. And sometimes I'll get one outside of my danger zone with a non-hormone trigger - bright light (I am ALWAYS wearing sunglasses), hot and sunny weather (deadly!), certain beers or wines (Yellowtail is the devil!)