Some antibiotics can increase the risk of a miscarriage. If you are considering taking antibiotics, you should definitely inform your doctor that you are trying to conceive, so that he/she can prescribe the right antibiotics.
Azo should not be used to treat a urinary infection. It is designed for symptom relief only, and is considered safe to take during pregnancy.