Investors & landlords

I rented it from the landlord in 2019 and did the renovations then. I returned the house in 2021. If I’m not able to depreciate the renovations, what was the proper way to write it off?