Do you mean a middle ear infection or an outer ear infection?
I would guess, as you are an adult , it is an outer ear infection (otitis externa)
What is persisting as symptoms, discharge? pain? or both?
Did the Dr take a swab.
providing that the diagnosis and treatment are correct, then it mat take up to a week or more to settle.
if it hasn't settled by Monday, then go back to the Dr.