A CPAP device and a method for treating sleep apnea use a head appliance with an oral adaptor comprising a tube partially inserted in a persons mouth and a diaphragm applied over the tube against the mouth, such that the lips are formed into a tight seal with the tube. A nasal seal is described comprising two rollers to which a strap is attached, so that the nasal seal is easily put in place, adjusted and maintained by rolling the rollers on the nose sides or pulling the straps.