Ibuprofen, caffeine, and sex in that order. An orgasm is one of the most effective headache cures out there.