How to Avoid Regret