Yep, sex cures headaches. During sex, endorphins are released. They block pain while increasing pleasure. So unless misery enjoys company (and after my first two wives, I can assure you that it does), she'll jump into your arms.

Top 10 Fascinating Facts About Sex. (NSFW!)