if you have anxiety and depression can you still conceive a child?

so i have depression but not that bad and i have bad anxiety and on medication for it.. i don’t know if it’s hard to have a bad with both things? is it hard ?