idiom
put your foot in it
Meaning
to say something embarrassing or inappropriate by mistake
Example
I really **put my foot in it** when I asked about her ex-husband.