Taking finasteride when you have a history of mental health issues?

I am 23 years old, somewhere around norwood 3. Really been contemplating taking finasteride recently but the controversy in regards to the side effects make me really hesitant due to my history with anxiety and depression, which are currently pretty high as they are (largely cause of the whole hair thing). I find the idea of being depressed/anxious and not being able to know if the finasteride is making it worse very disconcerting.

I'm wondering if there's any other dudes with similar issues in the past who've taken finasteride, and how it's worked out for you?