You don't the permission to view this video
Three ways. If you are installing a new roof, you can install an ice/water shield as an underlayment to the shingles. Second, you should have adequate insulation in the attic to keep heat from escaping, which causes the snow to melt. Third, the attic should have adequate ventilation to allow the roof deck to evenly cool and help prevent snow on the roof from melting.