What to do when you miss opportunities.