Closed accounts stay on your credit report for several years.