The gold standard treatment for obstructive sleep apnea is wearing a positive airway pressure, or CPAP, machine for sleep. For insomnia, it’s a form of cognitive behavioral therapy, CBT-I, that helps ...