You can stop headache pain once you discover the root of the problem. Often the thing that is actually causing headache pain is overlooked and not associated with the pain.
Things like sleeping late or skipping meals, both of which will cause a drop in blood sugar and give you a headache.
Many medications, even over-the-counter medication taken to relieve a headache can actually give you a headache.
Dealing with the pain at the root of the problem will stop headache pain. This article details many possible root problems to help you identify what is causing your headache pain.
Links:
[1] http://www.associatedcontent.com/article/2103339/how_to_stop_having_headaches_figure.html?cat=68