By practicing sama, it is possible to stay calm and maintain equanimity in a situation which would normally cause mental unrest and agitation.
Sama can be practiced through becoming mindfully aware of thoughts and consciously bringing the attention back to the breath and the present moment. Meditation and the repetition of mantras are helpful ways to cultivate sama. It is said that when you are fully present in the moment, you are experiencing sama.
The word sama is also used to denote a particular style of yoga. Samayoga (or Sama yoga) focuses on spiritual growth through the practice of Hatha yoga, kriyas and mantras. It combines multiple physical, mental and spiritual aspects of yoga.