1 Topical over-the-counter (OTC) 1% hydrocortisone cream may help relieve sunburn symptoms like pain, itch, and swelling. 2  Take OTC pain relievers such as ibuprofen (Advil, Motrin) or naproxen (Aleve) to help relieve sunburn pain and inflammation.  Apply cool, not cold, milk with a clean cloth to your sunburned skin.