If your dog's ears are very dirty or infected, it's best to take them to the vet. They may need medication or a professional cleaning.