Alcohol and ttc

Is it ok to have a glass of wine or two when TTC or will this affect my chance?