Antidepressants while pregnant

I take antidepressant because they have anti anxiety medicine in it. How bad is this if I am Ttc. My doctor won't take me off because of panic attacks. What's the risk to baby if I do become pregnant.