In early recovery when alcohol would be screaming to me, I would tell myself 15 minutes. I can wait 15 minutes. 15 minutes will not kill me. Anybody can do 15 minutes. In 15 minutes that alcohol will still be there if I want it. I would then walk away to hopefully shift my focus. This too shall pass... This too shall pass... This too shall pass.
It usually did, although sometimes a second 15 minutes was needed...and probably there were times a third 15 minutes. I can't really remember, but that is how my sobriety was started and built upon.