s layer of adipose tissue and for the severity of the collapse in the airways a stimulus is therefore generated at a specific intensity and frequency the device may store information relating to apnea episodes and the electrical stimuli in a memory external if necessary thus creating a time sequence that facilitates the automatic assessment of the evolution of sleep apnea and modification of the electric stimulation program in order to adjust the intensity and or frequency of the electrical stimulus to be applied the device may include a communication system by means of a cable or wireless which makes it possible to connect to an external device said external device may in turn be in charge of other functions for example producing a report on the evolution of the apnea episodes fig1 is a schematic block diagram of an electric stimulation system used to treat osa according to the present invention the main components are shown fig2 a is an example of a neck piece 10 fitted around a patient 39 s neck fig2 b represents the components of the neck piece 10 in detail fig2 c is a detailed view of the means used to fasten the neck.