If the machine is inside a bank branch, you can go to the branch staff with your national ID card to collect it (provided that bank is the card issuer). If the machine is an off-site one or belongs to another bank, the card is destroyed immediately for security reasons, and you must contact your bank to block it and request a replacement card.