Sweets helps headache

autom

So along with the last post I’ve noticed my migraine go away when I eat sweets I swear I notice relief within the first minute. What could the problem be. I’ll be going to get it checked out tried the hospital no help