TTC but I'm a smoker and occasional drinker

I've been trying for a while now. I smoke weed and I drink sometimes.. Is that why I can't get pregnant? Please I just want answers.