Ear infection please help.

Chosen*
Having terrible earache causing me to stay up all night. Was prescribed panadeine (paracetamol+codeine) along with amoxicillin antibiotics. Will these do any harm. Am 14 weeks and 2 days.