Swimmers ear

What could I do one of my ears feels like it’s closing and it hurts. The other day I went to beach and got water and sand inside that ear.