Investors & landlords

Do you have to depreciate and take the tax break on the renovation  or can you just  add it to your cost of the property when you sell it?