Hi and welcome.
For me, I keep lots of phone numbers handy - of friends who are in recovery. I had a close call recently and ended up going through the list until I got someone. I ended up talking to several friends and decided to pack up and leave.
You are wise to be thinking ahead - I did not on this particular occasion, and it very nearly cost me.