How do you prevent SQL injection attacks?

Technical