Treating ear infections may require oral or topical antibiotics or antifungals, flushing the ear, ear cleaning, or an ear-drying solution. If the problem is chronic, surgery could be necessary. Avoid the temptation to diagnose your dog's ear swelling yourself.