To clean normal ears, choose a mild ear cleaner specifically designed to be used on pets.
It's generally best to avoid vinegar, alcohol, and hydrogen peroxide, which can irritate the skin of some dogs and be painful to an already inflamed ear canal.
There are several types of cleaners to choose from.