It is best to avoid swimming until the ear eczema resolves, as chlorine can be very irritating. Use earplugs if you do swim.