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. 我两天前在宝莱纳说错了话。