Grin and bear it

To endure something unpleasant with good humor.

I have to grin and bear it when my supervisor becomes angry with me.