If you really want to earn the respect of others, you begin by respecting yourself. This means doing what is right in God’s eyes. Not cutting corners. Not engaging in lifestyles and activities that you know would be wrong in God’s eyes. Lying, cheating, stealing, being selfish, outbursts of rage and anger, constantly breaking promises, manipulating people, gossiping, slandering people, and so on. These are all examples of ways that we destroy our own self-respect and dignity when we engage in these. Sure we hurt others but we hurt ourselves perhaps even more.
If you want to build a sense of respect in yourself, follow your convictions. Follow those things that you know to be right and pure and true and noble and right in God’s eyes.