Sleeping pills and fertility

Sashah • First pregnancy due 2/12
Does anyone know if prescribed sleeping pills affect our fertility. I've been trying faithfully and doing all the tips and advice but not getting pregnant so it leads me to believe that maybe it's my sleeping medication. Anyone with some insight on this...