Discharge PLS

what's it mean if you have discharge which has a bad smell to it ?? and kind of drys cracked and gross. i know it sounds so disgusting but i really don't know what to do or what the problem is pls help