If possible, you should make sure your roof and attic are adequately insulated to minimize heat loss. However, if you’ve already done that or your home’s architecture won’t allow it, ice melting cable can be a great way to prevent ice dams.
Here’s how to install ice melting cable.