TheRedPin Interview Question

How do you prevent a SQL injection?