The majority of sleep apnea comes from fat being where it shouldn't be, ectopic fat in the airway. Ectopic fat is driven by metabolic disease, basically eating a bad diet. Eating a diet high in carbohydrates and sugar causes fat to build up where it shouldn't be. I.e. Airway. Ectopic fat can be resolved rather quickly by not eating carbohydrates and sugar.
Cpaps are great, and if you need one, absolutely use it. There is a dietary intervention also available, low carb, or keto, will resolve sleep apnea as well.