Zoloft in pregnancy

Marie

24 weeks pregnant and have been dealing with some anxiety, my doctor prescribed me Zoloft. She said it’s safe to take while pregnant, has anyone else taken this while pregnant? What’s your opinions??