Pregnant and antibiotics

KC
I am 25 weeks with an ear infection and sinus infection with sore throat. I was prescribed amoxicillin. Has anyone else taken antibiotics when pregnant? I was really trying to avoid it:( I know it's better to take though than not to. For the people that took it was everything fine? Thanks