Retirement tax questions

Also does this apply to house sales too? Say I have a house I sell with a capital gain of $200k but I have a carryover loss of $200k- that loss can’t be used 100% to offset the $200 gain from the sale if my house?!