To prevent sunburn in the future, it is important to wear sunscreen with a high SPF, wear protective clothing, avoid the sun during peak hours, and seek shade whenever possible.