Can I deduct expenses of renovations and maintenance/repairs on the rental property?

After 2 years of renting our property, we made some renovations and repairs/maintenance work while we were living there at the end of 2021 for 3 months because the people who rented did some damages. Can I deduct the expenses for renovation and maintenance as an expense of the rental property in the 2021 tax file?