Zoloft while breastfeeding?

My doctor wants me to take Zoloft for my anxiety, but I'm stressing out about taking it while I'm still breastfeeding. My baby is 7 months old and I just don't want to harm her. I feel like doctors say it's fine now but could come back in like 10 years and say they were wrong 😭 Any moms have personal experience with this??