Urinary tract infections are treated with antibiotics. You will need to take the medicine for 7 days or as determined by your health care provider. The symptoms should go away in three days. Don't stop taking your medication early, even if the symptoms go away (unless instructed by your health care provider).
Many common antibiotics -- amoxicillin, erythromycin, penicillin, for example -- are considered safe for pregnant women. Certain others, such as tetracyclin, may lead to liver problems, and yes, the developing baby's teeth.
How Can I Avoid Getting Urinary Tract Infections?
Drink at least eight glasses of water a day.
Wipe yourself from front to back.
Empty your bladder shortly before and after sex.
Use a water-based lubricant during intercourse if you feel dry.