To stop ice dams, keep gutters clean and install heated cables. Improve attic insulation and ventilation. Remove snow from the roof's edge when you can.