Before swimming:
Saturate your dry hair with conditioner and olive oil (or your favorite oil) and wear your swimcap.
After swimming:
Immediately go to the pool shower and rinse out the conditioner/oil mixture. When you arrive home, shampoo with a clarifying shampoo and deep condition with a moisturizing conditioner.