I don't have any experience with ear infections, but if the prescribed treatment isn't clearing things up for good, I'd say the vet needs to come up with a different treatment.

Has the vet given any indication of what's causing the infection?