Could I be endangering my baby

I found out I was pregnant a week ago and straight away I came of my antidepressants and since then I've been seriously dizzy just wondering if having withdrawal from my antidepressants could affect my unborn baby, Update-went to the pharmacy for advice and they said me and baby should be fine but go doctors and there put me on lower dose