How do I claim exemption of sale for primary home

I purchased and lived in my primary home from 11/2015 to 12/19. I purchased another home in 12/19 and moved in finally sold the 1st home in 02/20 as it took time for the buyer to close.  Turbo tax is calculating a capital gain from the sale of the 1st home and including it in my income for 2020.  Is this correct?  How do I claim an exemption or correct this?