Depending on the original genetic health; inbreeding (i.e. parents to sons/daughters or brothers to sisters) usually becomes a significant problem by the 4th generation. Even when trying to fix a recessive gene; you have to introduce new genes to line every couple generations .