Applying electric currents by contact electrodes alternating or intermittent currents for stimulation