How to withdraw if I don't have the card used to deposit anyore

I deposited funds using a debit card I no longer have (it was re-issued with a different number). Anyone know how I can withdraw funds? Obviously can’t do it to the same card I deposited with.
Thanks