Some headaches—cluster headaches especially—cannot be prevented. However, there are ways to reduce the frequency and severity of headaches.

Take Medication

Most medications are supposed to be taken when a headache starts, but there are limits on how many times per month or per week they may be used. Exceeding those limits can result in rebound headaches. Medication should be taken exactly as prescribed or (for over-the-counter options) as suggested on the package.

Avoid Triggers

For most migraine sufferers, there are certain foods and activities than can bring on a headache. If you suffer migraines, keep a diary of when headaches occur to help track down these triggers.

Exercise Regularly

Physical activity causes the body to release endorphins—natural painkillers. Be sure to consult a doctor before beginning an exercise program. Dehydration can contribute to headaches, so be sure to drink enough liquids while you work out.

Get Enough Sleep

Lack of sleep can trigger headaches. A regular sleep routine is also important in reducing the risk. Going to bed and waking up at roughly the same time each day can ward off headaches.

Reduce Stress

Stress can cause both tension and migraine headaches. Avoiding stressful situations is a good way to reduce headaches, and relaxation techniques like yoga and meditation have also been found effective at reducing the number of headaches per month or eliminating headaches altogether.