Discharge

Has anyone else had really off discharge (colour) it may sound gross but I’m not sure why,, it’s only happened once but I’m still confused as to why it was a nastyy colour??