Any Advice?

Does having a poor diet affect me from getting pregnant ? I can't help but stop eating lots of sweets and drinking soda.