It is one of the most effective methods for sty and pink eye. The heat accelerates the blood circulation of the area and provides healing. It reduces the pain and swelling, prevents it from getting more infected.
Dip a clean towel in hot water, squeeze the water out and put it on your eyes for 5 minutes while your eyes are closed. Repeat this a few times.