Just told my psychiatrist about my relapse

So for background knowledge, I used to self harm. A lot. Though my parents found out and told my psychiatrist. This was last year may, I was doing good until last week. I self harmed again but instead of keeping it to myself, I told my psychiatrist. He’s not telling my parents which I’m so glad for. But I also wished I haven’t told anybody.