put one's foot in one's mouth - Say the wrong thing at the wrong time.
Don't put your foot in your mouth. 別說錯話!
I put my foot in my mouth at Paulaner two days ago. 我兩天前在寶萊納說錯了話。