Different people have different takes on this issue. Personally, I chose to come out immediately upon getting sober. It kept me accountable during early sobriety, and I believe it played a part in my success. The support of those around me was an integral part of my ability to keep sober during those first few months. I've continued to be open about it, both to keep myself accountable and to make myself available to anyone who might have questions on recovery/addiction/etc.