PPD 18 weeks Pregnant !!

Sammy
My doctor said j have PPD and I'm still pregnant confused I said how can this be I thought that's after you have your baby ? Anyone else pregnant and have it or was pregnant and had it