Mastercard Interview Question

How would you prevent sql injection?