one solution is to take a pill and expect it to work and take the pain away.
another solution, bang your head against the wall, hoping that the rhythmic beat of your head against it would massage the pain away.
option three, have someone punch you in the stomach. by increasing the pain in other areas of your body, this would negate the pain you’re feeling on your head.
as a last resort, perhaps, try cutting-out the source of your headache. too bad i can’t cut my heart out.