the time that will do the trick (and improve your overall health). Or if you’re able to lose it on your own go that way.
If you can’t lose the weight (or still snoring at a normal bmi) then sleep study and >90% chance you’re on a cpap.
But I would fix the underlying issue (most commonly related to weight) if you can -