If your ears are clogged and infected after swimming, the condition is known as swimmer’s ears. It is caused when water gets trapped in the ears.