Anxiety/depression pills

Will it affect anything if I'm taking pills and currently TTC? I feel like I just won't ever get pregnant 😕Â