Security Learning Mode

What are the two most important practices to mitigate the risk of an SQL injection vulnerability?