Have more deep meaningful friendships; limit superficial ones. Have friends you can turn to and grow with; not just party and gossip with.
People will forget all the good things you've done when you make a mistake. Don't be hard on yourself because some people have selective memory.