If your dog or cats inner ears appear dirty, clean them with a cotton ball or gauze square dampened with a pet appropriate ear cleaner. Your pets inner-ear skin is delicate, so allow your vet to demonstrate the proper method for cleaning your dog's ears. A quick wipe from the inside out usually does the trick!
source