Niyama, the second limb, has to do with self-discipline and spiritual observances. Regularly attending temple or church services, saying grace before meals, developing your own personal meditation practices, or making a habit of taking contemplative walks alone are all examples of niyamas in practice.
The five niyamas are:
Saucha: cleanliness
Samtosa: contentment
Tapas: heat; spiritual austerities
Svadhyaya: study of the sacred scriptures and of one’s self
Isvara pranidhana: surrender to God