antibiotics during pregnancy??

Efigenia
Has anyone ever been prescribed antibiotics during pregnancy? My doctor wants me to take a low dose of antibiotics for the rest of my pregnancy. It does not seam right to me and am wondering if I should have a second opinion. I had a kidney infection at 20 weeks. That's why he wants me to take antibiotics. To prevent a future one.