http://www.drugs.com
lists reactions to Nystatin. Stomach irritation may indicate an allergy. May be best to stop taking it and call your Dr for advice as more serious allergic symptoms may develop.
If you are taking Nystatin for intestinal Candida/yeasts recent studies have shown that taking a special enzyme mixture will dissolve the surrounding biofilm which can protect the Candida from both meds and herbal remedies.