Treat people the way you want to be treated. Talk to people the way you want to be talked to. Respect is something earned, not something given. The fallacy in this philosophy is that true respect is earned, not bestowed. It easy to hate someone you don't even know. Respect needs to be earned, and I see daily examples in which respect is earned and not given.
If someone needs to earn your respect, then you do not actually respect the person, you are only respecting their achievement, talent, or attirbutes. If you respect a person, you choose to do so without regard to what they have or have not done.