How are mismatches “prepared” and how can we avoid them?

How are mismatches “prepared” and how can we avoid them?