I think that this a good philosophical question in that it can get you thinking about the world around you from a variety of perspectives. However I don't think that you are going to come up with one answer that is going to work for everyone (if I am wrong on this more power to you, but many have tried throughout the ages, and were usually martyred for there efforts)
Some would say "Do unto others as you would have done unto you" But this golden rule is a bit tarnished, if for instance you are dealing with a sadomasochist and you are not one yourself.
Some would say to forgive others all their transgressions against you for holding them only causes your pain to persist, but how then do we have any societal order or even personal boundaries as individuals if we let anyone and everyone walk all over with no consequences?
From what I have seen the Idea of a Utopia is an unrealistic ideal. It is unrealistic and unworkable because conflict itself is a force of nature. Don't believe me look around you, animals in the wild fight for survival, dominance, food, mating rights, etc... This is not only true in the animal Kingdom but also among the plants, and protozoans. Some might say that I am pessimistic for holding this view, but am I?
How many of the accomplishments of your life are you proud of because they were easy? It is the struggle to attain what we want that makes us value our achievements. Thereby there is always going to be conflicts and strugles between peoples as long as humanity continues to grow and evovle. It is my hope that in time we learn to resolves our conflicts in ways that leave all parties invovled better for their participation rather than weakened or decimated.