In the game Kaschlan, the defender captures cards by successfully beating all the attacking cards. Once the defender has beaten every attack card placed by the attacker, they replenish their hand from the stock to ensure they have five cards again. Then, they may assume the role of the next attacker.
For more details on the rules of Kaschlan, you can refer to the Wikipedia page.