Menthol shaving foam is an effective treatment for sunburns. Put some foam on the skin (do not rub), leave it for 30 minutes and then wash off with cool water. Repeat as necessary.