Antidepressant

I just received my positive pregnancy test. My doctor before told me that Zoloft is safer than Cymbalta. Is anyone taking Zoloft during pregnancy or have in the past? I’m just worried about taking an antidepressant at all during pregnancy.