Be sure to use butter for the frosting. Browning the butter gives the frosting a toasty flavor. Margarine does not brown like butter does.
Once the butter begins to brown, it quickly progresses to burned. As soon as the butter begins to turn a golden color, remove the pan from the heat. The heat of the metal pan will continue to brown the butter.