Test
Have someone else test
Get users to test
(get hitched up through sales or customer support)
Study the errors and adjust your procedures