On a podcast I heard the point that your mind is part of your environment, and that you calm it through its environment: the food you give it, the circumstances you are in, the people around you.
I agree. And there is a second way that works even when the first one is not available.
Working from the inside out
Often we feel the way we feel because of the way we are thinking.
We choose to see things in a certain way, and the mind behaves accordingly. You adopt a certain frame for your life, and from the inside it looks like: this is my environment, this is reality. You don't recognize that if you change the way you think, you will also feel different.
People in the same prison have different experiences. Why?
So yes, you can calm the mind by changing the environment, the food, the exercise. You can also work from the inside out. You can choose to think differently.
The prison example
Think of people who are put in prison. There is no physical way out. They cannot change the environment. They cannot change the food. Nothing on the outside is theirs to adjust.
And still, different people have very different experiences of the same prison.
Why? Because they change the way they think. In that situation it is the only option you have, and it still works.
For most of us, changing the environment is also an option. But even when it is not, you can always lead yourself.
Zoom in, zoom out, zoom in
Here is how it works in practice. It is called metacognition.
First you go inside and feel how you feel.
Then you step outside and look at yourself. This is how I am thinking. This is how I am feeling. From there you can see the bigger picture.
Then you go back in, and you choose to respond differently.
Zoom in, zoom out, zoom in.
The story of what is going on in your life right now, of why things are like this, is something you can always choose.