Pain can make you bitter or better. The difference often comes down to what you do next.