Avoid stressful events in the first two years, if possible, such as divorce, moving house, changing jobs, or a new partner. The stress involved can break one’s concentration on tackling the withdrawals
If you absolutely have to attend an occasion, perhaps a funeral or work-related, where there is drinking and/or you know you will feel uncomfortable, don’t stay any longer than you have to. Always plan your own escape route in case. Make sure you have the phone number of a taxi or a friend if needed. In a pub situation, my first sponsor advised me always to buy the first round and slip away as soon as I liked. Usually no one remembers when we left, just that we bought a round, and if anyone makes a fuss about our not drinking alcohol it is a sign that they could have our disease, too.
The question of how to fill the time you used to spend drinking will arise. The cinema, evening classes, the gym and swimming are just a few examples. You could make your own list of things you’d intended to do. Also, you could sample many activities to see which ones spark an interest. If you are shy, amateur dramatics is a possibility, for example.