If you want to reduce pain, it's important to change your attitude