I know mine had ear mites once & the vet prescribed some drops that got rid of them. I don't remember what it was but know it was dispensed from the vet.

The vet then instructed I keep the ears clean as possible, with q-tips & ear cleaning solution. I hope your kitty gets cleared up & feeling better soon!