word for telling the truth/ lying and then regretting it?

My brother once asked me if there was a word for telling the truth and then strongly regretting it, and when i looked on the internet, i couldn't find one... so i decided to ask on here. I then began to think more, and wondered that if there was a word for telling the truth and then strongly regretting it, was there a word for lying and then strongly regretting it? or was there a word for one and not the other... or a word that could describe both? i do mean strongly and sincerely regret, might i add, rather than to just have second thoughts.


I am unaware of a single word to replace 'I regret what I said' or 'I shouldn't have said that'.

There is a phrase: know when to keep your mouth shut.

Truth or lie, you wish you'd just kept your mouth shut. Then you wouldn't be in this mess.