You are not required to go anywhere that you feel uncomfortable. I avoided places that I knew would trigger me. No parties, bars or pubs. If you think a restaurant will trigger you, don't go. I personally think that this is important in early recovery. We don't have to be heroes and our only obligation is to make sure our sobriety comes first.
I basically had to change places, people and things.
I also took up hobbies I stopped doing, for example, reading and playing video games. I found that helped. Also went to lots of meetings and stayed at my daughters alot!