The process in which a faulty gene is removed or replaced with its healthy copy to restore the normal function of that gene, including replacing a mutated gene that causes disease, inactivating or "knocking out" a mutated gene that is functioning improperly, or introducing a new gene that helps fight a disease