Apply the 30 minutes rule. Always apply sunscreen 30 minutes before any sun exposure, not just 30 minutes before you get in the water.