Keep a headache diary to help identify the source or trigger of your symptoms. Then modify your environment or habits to avoid future headaches. When a headache occurs, write down the date and time the headache began, what you ate for the past 24 hours, how long you slept the night before, what you were doing and thinking about just before