You can keep some evidence. If someone really borrows money with your ID card, the other party is suspected of loan fraud, and at the same time, you should cooperate with the bank investigation to avoid bearing bad credit consequences.
According to the relevant regulations on the use of ID cards, the bank has the responsibility to distinguish whether the loan applicant is consistent with the ID card, so the bank is responsible for the theft of the ID card and the loan. If the personal identity card is stolen, resulting in a bad credit record, then the parties can appeal on the premise of having sufficient evidence, and the court will make a ruling.