To earn respect, you should be productive at work, demonstrate confidence, and behave appropriately with your colleagues.