Slip a strip of adhesive ice-and-water barrier (available where roofing repair products are sold) under the soffit/main roof ...
Clean the gutters regularly and install double layers of ice and water barriers to avoid icicle and ice dam formation.