If the solutions presented above have failed to give you the right results, then you should seek out professional medical help because it is likely that you have central or complex sleep apnea as opposed to just obstructive sleep apnea.
There are ways through which you can reduce the chances of having sleep apnea. In fact, even if you are already suffering, certain lifestyle changes can help you. The best way to counter sleep apnea is to lose weight through behavioral changes. Losing 10% of your body weight will reduce the severity of sleep apnea while drastic weight loss can even cure it.