Canceling a credit card can hurt your score by raising your credit utilization ratio and shortening your credit history. Learn when it's safe to close an account and how to minimize the impact on your FICO score.