I'd say I'm fully recovered from the eating disorder I had as a teenager. I managed to do this by moving out of my parents' house, once I had the chance to live in a safe and stable environment I no longer had the desire to starve myself or throw up as much. Plus I also had counseling on what a healthy diet was, which was extremely helpful, because I had had a very distorted view on what normal eating habits were during my eating disorder.
With other mental health issues (that probably don't fit any specific diagnosis) I'm partially recovered. What helped me was to force myself to be more outgoing and do stuff I wouldn't have done before like going out on my own and try to make contact with strangers, chat with people on the internet and sometimes meet them in person. This allowed me to have more friends and also to become more confident.
What also helped me was to travel/ live abroad as it forced me to adapt to new situations and thus helped me to be less rigid about certain things. It also gave me a chance to try out being a different person that wasn't defined by the expectations of the people around me who had always known me as a certain person. It eventually also caused me to move away quite far from the place I was born, because I realized that there were other communities where I fitted in much more than in the community I was born into.
Most important for me were probably good experiences with other people. By having good experiences with friends, a loving partner and complete strangers I eventually learned to put more trust in people and not consider all humans as evil. Plus time also helped in my case, as most of my problems stem from growing up with mentally unstable and abusive parents and the older I get the more time I had to make different experiences in a world where I can actually make my own decisions.