Church. If you've never been, give it a few tries. Often the people suck, but if you find the right niche its lifechanging.
That said, over time I found it impossible to reconcile my church's teachings with my own values, and haven't found another that I'd be more comfortable with. But I would never deny that they were a crucial part of me rebuilding my life when I was on the ropes.
For anyone who isn't particularly religious, if you live in a fairly big city, you can probably find some faith group that aligns with your values, whatever they may be. In smaller towns and communities, you kinda get what you get.