It would be my opinion that you have a fungal overgrowth
in your body...Candida. Fermented foods help to
kill off the fungus. You are reacting to die off and/or you are
irritating your host.
I would recommend a parasite cleanse and to eat lots
of fermented foods, especially beet kvass and kefir.
Try not to eat sugars and grains.