To solve the problems of the prior art, the present invention describes a method for treating episodes of apnoea and/or hypopnea, which comprises the steps of: a) detecting or predicting an episode of apnoea and/or hypopnea by means of at least one sensor selected from a respiratory pressure sensor, a pulse oximeter, an acoustic sensor and/or a respiratory temperature sensor; and b) emitting an electrical signal by means of an electrical actuator connected to at least one submental nerve and/or muscle, the electrical signal having a bipolar waveform and a frequency between 5 and 100 Hz.