People around the globe have protected their skin using a variety of substances throughout history. In the 19th and 20th centuries, deeper understanding of sunlight and the way it affects skin led to more protective sunscreen formulations.
Research:

Charles Goodyear and Vulcanized Rubber
48:22

SYMHC Classics: Penicillin
42:45

Behind the Scenes Minis: Dorothy Everywhere
20:00