Pregunta de entrevista de Rocket

How do you protect code against vulenrabilty (SQL injection)?