Selling house

I am Selling a home in Colorado I lived in the house for 22 years and the last 12 years. It has been rental property. When I close on the property in 2025 will Taxes be deducted immediately from the net proceeds from the sale Or will I pay the taxes when I file in 2026?