Studies on self-control suggest that recollecting past mistakes is a good way to avoid making them again.