Where "someone" is a therapist or counsellor. They can refer you on to someone who works with pharmaceuticals if necessary, but there's a lot to try before going that route.
I’m just conscious of this because I’ve seen this argument used to justify delaying actual treatment in favour of ‘alternative medicine’.
Basically the counselling/therapy part of the process would be identifying if there's a "real world" root cause to address ahead of going the pharma route and facing potential side effects, and/or the reality of having to go off it later and immediately regressing because the root cause hasn't been fixed.
In any case, I'm obviously not a doctor; neither this post nor the GP should be construed as medical advice.