Treating low immunoglobulin levels

When is it necessary to treat a patient with low immunoglobulin levels?