Hi Jane,
It sounds to me like you are experiencing a severe form of "kindling".
http://en.wikipedia.org/wiki/Kindling_%28substance_withdrawal%29As I understand it, every time somebody stops drinking they go through withdrawal. In effect a hangover is a form of withdrawal. Over time the effects of withdrawal become more and more pronounced. Eventually, by the time a person is physically addicted to alcohol, the withdrawals are extremely severe indeed. I suspect this is what has been happening to you. As kindling becomes more and more severe the risks of withdrawal become greater and greater. I have read some theories that binge drinkers tend to suffer more from kindling than daily drinkers do, but I don't know how true that is. To be honest, it is knowing about this that helps to keep me sober. I still remember my last withdrawal. I don't want to go through it again.
As for the headaches... I got headaches for a long time after I gave up drinking. They didn't stop, as such, they just faded away slowly. The important thing I found that helped to keep them to a minimum was to make sure that I drank enough fluids. I was so bad at this in the beginning that I measured the capacity of cups, mugs and glasses, and used a kitchen timer to go off every hour to remind me to drink. I also kept notes on how much I was drinking to be sure I was drinking enough. I tried to drink about 3 litres per day in the early days, but I did reduce it to about 2 - 2.5 litres per day eventually. I've always thought of this as teaching my body how to recognise being thirsty, because my thirst "reflex" just didn't work properly.
If you suffer from vomiting or diarrhoea then make use of rehydration powders as well as plain water or other liquids. (Tesco do their own brand. The famous brand is Dioralyte but it is much more expensive than the own brand stuff.)
Good luck.

Never forget - I'm not a doctor. Take responsibility for your own health, do your own research, and double-check everything.
Getting sober doesn't happen by magic and doesn't happen by wishing. Make a plan and get prepared!