Investors & landlords

Thanks for letting me know about the choices. So I did stupidly make one loan a month ago, in which it was repaid. But at this point, I'd much rather take the $500 as a deduction. I was wondering then if it's too late? Or if it is, would it be possible to deduct the loan for 2020 taxes?