When repentance is genuine and sincere Allah accepts it and forgives the person’s past errors. Our past sins do not stay with us, if we sincerely regret having done them. Every human being is liable to err in future. What is more is that we, the Muslim community, are commanded by Allah to overlook the past deeds of any person who declares that he has genuinely repented what he had done.
Therefore, if someone used to drink alcohol and then repents, we treat him as one who does not drink. We never taunt him about his past nor do we refer to him in our private conversations as a former drunkard. To us, he is as good as a person who never drank.