Welcome and sorry to hear you experienced a tragedy.
What I have found personally to stay sober is I need to have a plan, for example if I had a desire at this moment to go buy beer, my plan tells me exactly what I would do, I also made a promise to myself I would follow the plan I have in place because if I do, I am very confident I will never drink again which is the end goal I have set for the rest of my life.
All the best
Andrew