hold it in

Intermedio (B1) informal

To stop yourself from crying, laughing, going to the toilet, or showing how you feel.

"The eulogy was so funny that half the mourners were struggling to hold it in."