Other financial discussions

I sold my second home at a loss and I did spend money to upgrade to sell the property. Do I get any deductions on money I spent