Evaluate a program

Why is it important to evaluate a program? When should you do evaluations? Provide examples.