Put one's foot in one's mouth
Meaning:
This idiom is used to describe when a person says the wrong thing at the wrong time. We often use this idiom if we say something stupid in front of other people, especially if it is something embarrassing and inappropriate. We can also use it to describe when someone else makes this kind of mistake.
Example sentences:
1. I put my foot in my mouth.
2. She really put her foot in her mouth.
3. Why do you always put your foot in your mouth?Example dialogue:
A couple is talking about the conversation they had with another couple
A: I can't believe you did that.
B: What? What did I do?
A: You asked if Daphne was pregnant. But she's not pregnant. She's just gained a little weight.
B: Oh, yeah. I really put my foot it my mouth, didn't I? I was so embarrassed.
http://english1010.com/put_ones_foot_in_ones_mouth.htm