Complete devotion towards Buddha, Dhamma, Sangha help a lot to counteract an addiction.
Be mindful.
Practice meditation.
Reflect on the negetive points of your addiction.
With great determination and right effort you can overcome an addiction.
Don’t wait for a suitable moment to start your retreat from addiction, start now and keep going...