You will want to pre-shampoo your hair for 15-20mins before swimming, using an oil that suits your hair's porosity. This should help protect your hair from the water. However, for ultimate protection while swimming, it is even better to wear a swimming cap if you can!