If the house was your personal residence, you can either pay the tax of 15% of the capital gain, or defer the gain by purchasing another home of greater value--I think within 2 years.
This is not correct, there is NO LONGER a stipulation syaing yo must buy up, that was removed from the tax code in 1997.