Please follow https://www.irs.gov/newsroom/important-tax-reminders-for-people-selling-a-home.