Discharge

I have discharge and its like kind of thick and the color is like a dirty whitish color and has a smell to it could anyone tell me what it is or how to get rid of it.