Can you take Zoloft while pregnant?

Have any moms taken Zoloft during pregnancy to help get your anxiety and panic attacks under control?? I’m 14 weeks and I’m struggling. I have a diagnosed panic disorder and also struggle from health anxiety, I was coping pretty well but pregnancy hit me like a train and now it’s hard to get my panic attacks under control. My doctor recommended to me but said it’s my choice since I’ve really never wanted a medication. Did you enjoy Zoloft and did it truly help you? Any effects on your baby? Thanks!