Helpppp

I've been depressed for 3 years and I used to cut and binge and purge but I thought I got over it but recently it's all come back and the other day I was in a place where I wanted to commit and I was so close but my friend who is also my neighbour was able to stop me. I'm so scared but the doctors won't do anything to help me, they referred me to CAHMS but I had a panic attack before my meeting so they stopped the support because I 'refused' to attend a meeting. Has anyone been through something similar or have any advice because I'm so lost.