Walking, swimming, gardening, biking, or participating in other group activities might help you improve your mood and cognition.