Learn and practice meditation. It’s the only way. I can highly recommend the book Mental Resilience: The Power of Clarity [1] by Kamal Sarma It comes with a CD (yes they still make those) to help you early on with some guided meditations while you build up.
[1]: https://www.amazon.com/Mental-Resilience-Clarity-Develop-War...