Deductions & credits

Thanks for your reply and I have read the article you linked for safe harbor.  The cost of roof shingles replacement in 2023 was $4500 and it was less than 2% of the property value.  I am a small landlord.  How should I claim the deduction if it was claimed erroneously claimed at a 27.5 year amortization in my 2023 return?   TIA!