I doubt it is allergy.
Have you ever had a migraine? If not you need to see your DR. for a check up. Headaches that last that long are not normal. Is it worse when you lay down or stand. Is it one sided? Have you bumped your head lately? I am concerned Jean