If the corn has a rancid or moldy smell, is slimy and mushy to touch, or has visible mold on it, then it should be discarded as it has gone bad.