Has anyone had to take antibiotics during prego?

Mon
I am 33 weeks tomorrow with mono/Di girls. Haven't had to take anything so far and have been so careful to  not get sick... And then last week I got bad ear infection. Tried everything natural but nothing seems to work, this morning I started antibiotics and feel so guilty about it.... Worried it will affect my girls... Anyone else?