Mistakes are part of science. But setting the record straight promptly and clearly can help to avoid a career blot.

Source: COPE; Council of Science Editors
http://www.nature.com/naturejobs/science/articles/10.1038/nj7492-389a
http://retractionwatch.com/