What does a baseball player do to earn a gold glove?

At the end of each season the managers and coaches in each league vote for who they believe to be the best fielders at each positions. Catcher, First base, Second base, Third base, Shortstop, Pitcher and three Outfield spots.