Most recreational sunscreens are designed to be water- and sweat-proof, so sweating will not wash off the protection needed.