Sunburn is skin damage from too much exposure to the Sun’s radiation. The mode of heat transfer involved in the event of a sunburn is radiation.
The heat from the sun reaches us through a process called radiation. The transfer of heat through radiation does not require a medium.
During summer, when the heat from the sun is more, people tend to suffer from sunburn due to extremely hot radiation.