Shaving cream: Though shaving cream does have moisturizing properties, it isn't the best thing to put on sunburn. Shaving cream also contains a number of chemicals that may irritate inflamed skin.