السلام عليكم ورحمة الله وبركاته ustaadh. To what extent can one expose his/her sins to others (i.e. friends) for the sake of getting advice? And what about towards a psychiatrist/psychologist for the sake of professional treatment?

Ustadh AbdulAziz al-Haqqan
To the extent that is actually required for you to get the help you need.