If you have nasal congestion or an obstruction, you might be able to prevent snoring by treating these conditions. Congestion may be treated with medication. A deviated septum or other obstruction may be corrected with surgery. Talk to your healthcare provider about treatment options for these and other problems.