In this article
What You Can Do
Be aware of how caffeine affects you, and pay attention to how much of it you drink and eat. If you get migraines, or if you find yourself having headaches frequently, you may want to try to cut down on caffeine or avoid it completely. It’s best to do that gradually. For example, if you normally have 2 cups of coffee in the morning, start by cutting back to one. If you quit suddenly, it can take up to a week to get past the withdrawal symptoms.
Keep track of your headaches and what seems to help. Get good sleep, and drink plenty of water. A nutritious diet and daily exercise can also help. Try to manage stress. You might be able to beat a headache with relaxation techniques, meditation, or massage instead of using medicine or caffeine.