Zoloft during second trimester

Katelyn
My midwives just prescribed me zoloft for my depression and anxiety and I'm worried about how it'll affect my baby. I know my doctor said baby will be fine as long as i breastfeed to ween her off the Zoloft when she's born but I'm just anxious about birth defects. Are any of you other mamas on antidepressants while pregnant?