How to Maintain Good Relations with People

How could we have successful and rich relationships with people around us? What could keep our contacts tied to us in good shape? What does Islam say about that?