Group 1- Telemedicine Patients will be fitted with a mask , given a CPAP, and instructed on how to use the device. An intelligent software specifically developed for this project will be integrated in the web site. Using patients' baseline data (sociodemographic characteristics, presence of comorbidities, quality of life, sleepiness, pharmacologic treatment, toxic habits), the software will be capable to provide an initial prediction of the expected CPAP compliance at 6 months. Then, the real data about patients' treatment compliance sent on daily base by the CPAP machine will train the software improving the level of confidence of the prediction. Based on the prediction of compliance at six months, the software will provide specific and personalized interventions to modify or maintain this prediction. Interventions will be administered to the patients through a smartphone application connected to the web site and specifically developed for this study (MyOSA-App). Using the mobile-app patients will receive information about their own CPAP compliance and advice on how to improve compliance. All patients will be visited at 3 and 6 months at sleep unit. Patients will be checked about progress and adherence to therapy and any problems with their machine.