RecruitingDevice studyrTMS as Add on Treatment for Substance Use DisordersThis pilot study is designed to test feasibility and superiority of rTMS types and target locations for the optimal rTMS intervention for individuals seeking treatment for Alcohol Use Disorder (AUD) or Opioid Use Disorder (OUD). The critical questions this study seeks to answer are: which rTMS type applied to l-dlPFC in OUD participants will induce the greatest reduction of opioid use post-treatment? Is inhibitory rTMS applied to medial prefrontal cortex (mPFC) more effective than excitatory rTMS applied to l-dlPFC at reducing alcohol use post treatment in AUD participants?