It is not a good idea to wear contact lenses while swimming, as it may lead to an eye infection.