Food allergies, and the length thereof

So, for the past almost-two-weeks now, I’ve been having problems with pain and pressure in my ears, some pain while swallowing, and pain in the back of my lower jaws. Last week, I got prescribed nasal steroids and antibiotics, and I’ve been taking them religiously. The pain in the ears and the swallowing difficulties are lessening, but doing so very, very slowly, and the jaw pain… Well, it’s a little better, but not great.

About the time these symptoms started, I switched my diet plan, and one of the things that got added, which I’d never eaten before, were pistachios. Now, five days ago I stopped eating those completely, out of fear that maybe all this was caused by a food allergy I’d been unaware of. Thing is, while I -am- getting better, it’s quite slow, and I don’t know… If I’ve not eaten them for five days, would the allergy continue this long?

Thanks in advance for any information you folks might be able to share!