Alcohol as medication is a terrible idea. If your drinking is medicinal, it's time to look for safer, more effective ways to cope.
As you eventually become an adult, there are opportunities for self-regulation that begin to define you. For some folks, the casual drink is the indulgence that gives them a warm fuzzy feeling. But again, as we evolve as adults we begin to look beyond the buzz and towards other objectives.