capital gains tax sale of second home

When you sell a Second Home, you may not get the tax advantages unless the home was an investment property and can defer capital gains.