Earning respect mustn’t be confused with demanding respect. Respect that is demanded usually isn’t truly respect; it’s either fear or obedience. Anyone who thinks respect can be ordered–“Show me the respect I deserve or else!”–is a bully. Bullies deserve only contempt.
Be sincere. Be genuine. Listen and learn. Compliment others. Be kind.
Accept differences. This is especially important when in the religious and cultural areas. Make an attempt to understand what is different from your own background and beliefs. Don’t mock what you don’t comprehend.
Behave with honor. That’s an old-fashioned word that has gone out of fashion, but the concept is just as important in today’s world as it ever was. Honesty. Integrity. Ethical behavior. Doing the right thing.