First, get out of the sun. Get into a cool bath and apply thick moisturizer to the area, Dr Merola said. You can also take aspirin or ibuprofen to reduce the swelling, redness, and discomfort. Make sure to drink plenty of water. If you start to see concerning signs like chills, headache, or fever, talk to a doctor.