Thanks for choosing "Ask the Doctor" for posting your query.
Hives are always allergic. Allergy can be due to anything, it need not always be related to your diet. If you are suspecting it to be infectious, probably its something else and not hives. However, I would recommend you to get yourself examined by a doctor who would prescribe you with some anti-allergic medications like cetirizine, fexofenadine or atarax. Some resistant allergies are treated by low dose steroids as well.
Hope I am able to answer your concerns.
Wish you good health!
These Q&A’s are for educational purposes and should not be relied upon as a substitute for medical advice you may receive from your physician. If you have a medical emergency, please call 911. These answers do not constitute or initiate a patient/doctor relationship.