Topical anesthetics such as Solarcaine may offer some temporary relief from pain and itching. Look for products that contain lidocaine, which is less likely than some of the other topical anesthetics to cause an allergic reaction. Because some people do have allergic reactions to such products, test a small area of skin before using it all over. Topical anesthetics come in both creams and sprays. The sprays are easier to apply to a sunburn, especially when it is widespread. If you use one, avoid spraying it directly onto the face. Instead, spray some onto gauze and gently dab it on your face.