How can genetic abnormalities leading to immunodeficiency disorders be corrected? Give

How can genetic abnormalities leading to immunodeficiency disorders be corrected?
Give an example.