There are PG-safe antibiotics available.

I'm not PG again (yet!) but recently had to go on antiobiotics for a bladder infection, and since we've started TTC, the doctor gave me Amoxil to be on the safe side.