
Put your foot in it
Social Faux Pas
Understand that using this phrase often points to a social mistake that's awkward or taboo. 
Apology Trigger
It's usually followed by an apology or an attempt to correct the awkward situation. 
Informal Expression
It's an informal idiom, more likely to be used in personal conversations than in formal contexts. 