Taking magnesium is good for anxiety. As a matter of fact being deficient in magnesium actually is the cause of anxiety in many cases. If you had a reaction then it may have been related to something you ate etc. Adn a candida diet must be continued for many months , not a few weeks. It takes up to a year or longer sometimes to get well.