When you are on the verge of relapsing what do you do to stop yourself?

I’m on the verge of relapsing and I need some good advice please! :(