If you learn that a stock became worthless a few years ago, file an amended tax return (Form 1040X) for that year, claiming the loss.