To cancel a credit card, you’ll need to have cleared the balance. Once the balance has been cleared, get in contact with your credit card provider and let them know you want to cancel your card.
Simply not using the card will keep the account open, so it’s critical that you contact your credit card provider if you want to close it.