Antibiotics

Anyone taken antibiotics while pregnant in the first trimester. I've been told it's dangerous and you shouldn't but I was at the er today and they said I have white blood cells in my urine so they think it's a uti. What was your outcome of you used antibiotics? Baby/fetus okay? Pregnancy continue normal? Thanks