"getting sun is bad" should be strictly "too much UV exposure over a long period of time is bad" which is currently unambiguously what the evidence demonstrates.
I have also started to avoid sunscreens and wear synthetic fabrics instead which aggressively filter out UV light, or I schedule fewer outdoors-in-direct-sun activities during peak UV hours when I have that option.