Answer: You must deduct a bad debt in the year it becomes worthless. If you realize you could have reported and taken a deduction for an unpaid debt years ago but didn't, you generally have only three years to amend your return in order to claim it on your tax return.
HOPE THIS HELPS