To prevent lumps, gradually add the grits to boiling liquid while whisking constantly. Stirring often during cooking will also help achieve a smooth consistency.