Has anyone been on an antibiotic while pregnant?

Afton
My ob put me on a anitbiotic, and im 5 wks 6 days pregnant. My Pap came up abnormal. Im not a fan of antibiotics cause they mess up my bowels everytime regardless if i eat or not. Has anyone else had to take anything while pregnant?