I went through a similar thing in my late teens, although not pill related as it seems yours might be. I can remember how awful it would make me feel & the money I spent on creams & lotions which never seemed to work!
If you haven't already then do talk to your doctor, both about your skin & your low mood/depression. What helped me was a course of antibiotics (Tetracycline), I think I took them about 3 months or so - it never really came back after that - just the odd spot now & then. These days it's not spots I worry about, but wrinkles....
I know how it can make you feel reluctant to socialise, but please don't isolate yourself from your friends because this will only make you feel worse. Whilst I used to feel terrible about my self image when I had acne I have never judged anyone else harshly by the condition of their skin & wouldn't want to be friends with someone who would - perhaps the same is true for you? It's often a case of being as kind to ourselves as we would to others.