The most helpful type of social comparison

What is the most helpful type of social comparison for discovering how you fit in any particular situation? How does this connect with the concept of self-esteem?