In “Grain Brain”, Dr David Perlmutter mention following cure for headaches,

Manage emotional stress, anxiety, worry, and even excitement. These emotions are among the most common triggers of headaches. Migrane sufferers are generally sensitive to stressful events, which prompt the release of certain chemicals in the brain that can provoke vascular changes and cause a migraine. Adding insult to injury, emotions such as anxiety and worry can increase muscle tension and dilate blood vessels, intensifying the severity of the migraine. 
Sounds a lot like Stoicism can cure the headaches.