To avoid sunburn, the most important thing you can do is get morning sunlight, especially at sunrise. This has a photobiomodulation effect that primes your skin for the rest of the day. It is also smart to build your solar callus to the months leading up to summer.
However, if you want to build up...