how do I add carry over capital gain loss

I have 24,000 is capital gain/loss from the sale of an investment property. Home do I add the $3,000 loss to my return