if my tenants left my rental property in disrepair, i was unable to rent it in 2024, as i was making repairs. can i still claim it as rental property?

how do i deduct the repairs i made on the property?