From the inside, place the hat over hot water and roll your fingers over the tip of the foam once it gets warm.