I used to drink alcohol to self-medicate my social anxiety. I realized eventually, however, that, because it also lowered my inhibitions, I would do and say things I wouldn't have were I not inebriated. This is what effectively convinced me to give up the drink, as it were.