depression and fertility

Can depression affect your fertility? I've been depressed lately, and I as wondering if that's the reason why I can't conceive. And help with this would be much appreciated.