How do you handle defects discovered during the testing process, and what steps do you take to prevent them from happening again?

Technical