It's known as "The Golden Rule".
Today I found a marvelous page entitled "18 Practical Tips for Living the Golden Rule" and thought I'd pass it on. Here are three of them that I particularly like:
The other tips are good as well.Practice empathy. Make it a habit to try to place yourself in the shoes of another person. Any person. Loved ones, co-workers, people you meet on the street. Really try to understand, to the extent that you can, what it is like to be them, what they are going through, and why they do what they do.~~Stop criticism. We all have a tendency to criticize others, whether it’s people we know or people we see on television. However, ask yourself if you would like to be criticized in that person’s situation. The answer is almost always “no”. So hold back your criticism, and instead learn to interact with others in a positive way.~~~
Don’t control others. It’s also rare that people want to be controlled. Trust me. So don’t do it. This is a difficult thing, especially if we are conditioned to control people. But when you get the urge to control, put yourself in that person’s shoes. You would want freedom and autonomy and trust, wouldn’t you? Give that to others then.