It seems counterintuitive, but pain is actually good for us. Here's why...