External factors, such as friend groups, habits, and workplace can be part and parcel to how your reputation evolves. A toxic environment with toxic people and relationships may be the source of your problems. Take some time to consider whether or not you need to make some changes in the people and places of your life.  If you have a bad reputation among friends, maybe it is time to spend time with different people. Maybe your friends are encouraging habits that make people think poorly of you. At work, toxic employment environments can create unreasonable expectations of people. A work environment which encourages an unhealthy work-life balance can make it seem that a hard working, dedicated individual is lazy. Examine your workplace culture, and think about whether or not a value clash is causing your reputation to suffer. You may want to find a new job. This can be a very difficult thing to accomplish. But when you see yourself through the eyes of others, and you don't like what you're looking at, make a change. Changing yourself is hard because we develop strong patterns and habits in life. However, by making big changes in your behavior, people will take notice. This will change how they see you, and it may cause others to re-evaluate their perceptions of you as a person.  Seek professional help, such as a therapist or psychiatrist. Find a life coach or a spiritual guide to help you find ways to make internal changes. Superficial change is not the same as an authentic change. Inauthentic behavior is hard to keep consistent. When you're not being authentic, people notice. Real change is harder than pretending to be different.

Summary:
Change parts of your life. Change yourself. Avoid superficial changes.