Ear infection

Hello I’m 14 weeks pregnant and I was told amoxicillin was safe to take during pregnancy. I am taking for ear infection & would like to know if anyone’ else has? & if so how often did you take it a day ?