Trying to quit coffee and cigarettes

Quitting smoking and drinking coffee is hard. I’m on the third day and, although I don’t feel any relevant urges or have bad moods, I do feel a terrible headache all day, non stop. I knew it would be hard, but headaches all day is a pain in the ass. Guess that’s the consequence of drinking coffee since I was 11 years old (I’m 33 at the time of writing).