Maintaining sobriety

To those of you who are sober, how are you able to resist temptation and maintain sobriety?