As the cell repairs the break, it can either inadvertently disrupt the gene by adding or removing a few bases (a process called nonhomologous end-joining, or NHEJ) or use an exogenous piece of donor DNA to rewrite the damaged sequence to researchers' specifications via homologous recombination.
Can't understand? You idiot.
Can't understand? You idiot.