If you're prone to sunburn while swimming
https://www.scribd.com/document/856825769/Make-a-Splash-Without-Getting-Burned-Essential-SPF-Advice-for-Swimmers-204263
If you're prone to sunburn while swimming, consider wearing rash guards or swim shirts with built-in UPF protection as an additional measure alongside applying sunscreen.