Drinkers and smokers have high risk of infertility,lot of cycling and overweight are also the causes for infertility.getting pregnant depends on lots of factors .
1. timing of sexual intercourse
2. sperm quality and count
and many others but first you should confirm if it happened at the right time,then check your partner's sperm status by appropriate tests.