When a dog’s eardrum ruptures, bacteria and fungi can travel from the outer ear to the middle and inner ear. This can cause a serious and painful ear infection.