Ibuprofen helps mine more than anything else, and you can try a caffeinated drink to abort one (usually works better right at the beginning of one, but don't rely on caffeine too much as it can cause rebound headaches and make your problems worse). Sometimes sleeping it off is the only way.
I would also see a doctor, if you haven't already. They'll be able to diagnose the type of headache more accurately and offer you help especially if they're this severe.