When trying to conceive?

Can you take antibiotics when you’re trying to conceive? Would it affect the pregnancy if I would to get pregnant during my ovulating days?