Having a long-term physical condition can lead to social isolation, low self-esteem, stigma and discrimination. Some research suggests that exercise can contribute to good mental health by improving mood and quality of life, and helping manage cravings for substances.