Endurance or perseverance — to endure or bear discomfort, pain, or hardship (used as a noun or 'する' verb).
頭が痛かったが、仕事のために我慢した。
I had a headache, but I endured it for work.
寒さに我慢して外で待った。
I stood outside, enduring the cold.
彼女は我慢強い人だ。
She is a patient (enduring) person.
Self-control or restraint — the ability to suppress impulses or control one's desires and emotions.
子供に怒りをぶつけそうになったが、我慢した。
I was about to vent my anger at the child, but I restrained myself.
甘いものを我慢するのは難しい。
It's hard to resist sweets.