PP discharge

I’m 1 month PP, I’ve stopped bleeding and am now in the phase of the yellowish/brownish discharge “lochia”. My doctor says it’s normal but it has such a foul smell to it, it makes me feel so nasty. How long is this gonna last?😩