Headaches often take us by surprise. Was it the third cup of coffee? Or this morning's run? Wait, maybe it was last night's bottle of wine -- who knows. If you get frequent headaches and want to pin down a cause, a headache diary can help you get ahead of your next episode.