I avoided alcohol early in sobriety until I was on much more stable ground.
I still mostly avoid drinking occasions but will attend if I have very good reason to (that's beyond just hanging out) and I am in good sober/spiritual condition. If I'm feeling uncertain or shaky at all about it, I don't go.