I get headaches a lot! Since I was a teenager about 4-5 times a week. Sometimes there’s no rhyme or reason, other times the usual triggers will bring it on like perfumes, period, alcohol and especially very sugary food/drinks. I’ve been for lots of tests there isn’t a medical issue. I am just used to it now after 30+ years
Anyway on days when they are particularly bad and normal pain tablets don’t help except for OTC codeine, I will eat chocolate and sweets, drink regular Coke or hot chocolate. Everyone I know think I’m crazy but it makes perfect sense to me. I can’t enjoy those treats when I’m well as there’s a big chance they would cause a headache so I have them when I already have a bad headache. That’s not unreasonable right?