Have any of you had to go on antibiotics while pregnant?

I went to the doctors today with what I thought was a bad cold. The doctor mentioned a virus and said because I’m pregnant it could turn into bronchitis and I will need to go on antibiotics.

I saw her 10 hours ago and I can already feel that I am so much worse. Really worried I will have to take antibiotics.