Hi, you went to 2 rehabs? Didn't they give you follow up advice? In other words, did you go to Alcoholics Anonymous or Narcotics Anonymous upon leaving rehab? If not, I strongly suggest you go to a meeting asap. That's what saved me plus many of us who are clean on this site.
I understand you want to try medication to relieve your depression and anxiety, instead of using all that pot and booze and cocaine.
I went to AA and NA meetings for a year and started to get well mentally without medication.
For me, meds only make things worse. They change your personality and change your life by getting you addicted to them. It's just another addiction in my opinion. Why not give AA a chance? It saved my life, and you don't have to believe in God to do it.
I've been clean from opiates and cocaine for over 10 years, and I don't even think about getting high as an answer to my stress or problems.
I love my clean and happy self. Life's really beautiful once you get into the frame of mind AA teaches. I promise these wonderful, loving people will help you find it, if you just keep an open mind and be willing to listen!