One of the most highly recommended tools for keeping centred when life throws you a curve is meditation. Meditation is a state of deep relaxation that helps you stay connected to your body, your heart, and your inner wisdom. As little as 10-20 minutes a day can make a difference. You can meditate with silence or use a mantra (a repeated word).
Some meditate with soft music, some use guided meditations that can shift their mind to a special place of peace, understanding, and connection. Others may meditate through forms of yoga or a contemplative walk-in nature.
Whatever method you use to get maximum effectiveness of meditation, it is worthwhile to meditate consistently and, if possible, at the same time of day. Experiment with different methods and discover what works best for you.