It doesn't matter. Getting a credit card is free.
If you don't want to use it, just call directly to explain the reason for cancellation, and remember not to open it;
If you don't have a credit card yourself, you can use it. The first year is free of annual fees, and the second year is also free of spending a certain number of annual fees.
You can cancel it as long as you don't want it. It is more convenient to use.
Supplement: You can apply again without affecting your credit.