It is common for people in AA to be anti medication, however for people like myself with horrible anxiety and depression issues, they are absolutely needed.
Detox centers will give you meds to get your safely through withdrawls, without them can be horrific for some.
If you have mental health issues requiring medication, I would be all means take them. Many of us became alcoholics in the first place because of our mental health issues.