Anxiety Medication and Pregnancy

I am planning on getting pregnant very soon and I am currently on anxiety medication. I take the Sertraline (off brand of Zoloft) anxiety medication. I was wondering, will this medication be harmful for my pregnancy in the earlier and later stages of pregnancy?