how to get rid of pain mentally