Lexapro in pregnancy?

K

I quit taking it about a month before I found out I was pregnant. But recently my anxiety had just been overwhelming and I don’t know what to do. I talked with my doctor yesterday and she gave me a prescription for it. Today I’ve been reading up on it a little more and the only thing I found was it can cause heart problems in the third trimester for the baby. But my anxiety is so bad I can barely do my job. So I’m torn. I trust my doctor but I’m also looking at the bad too.