On schedule E do you add back repairs when you sell rental property or do repairs increase basis?

On schedule e when you go to sell a rental do you have to add repairs to your basis or are these considered expenses? Depreciation reduces basis?