Depresssion and pregnancy

Has anyone been going thru the same thing. I’m on medication which I will stop once I get pregnant but if you got pregnant while having depression how did you handle it?