Put a sock in it
British SlangDefinition
A brusque British expression telling someone to be quiet; stop talking.
Examples
"Put a sock in it, will you? I’m trying to watch the telly."
"He kept banging on about his diet, so I told him to put a sock in it."
"If you can’t say anything useful, put a sock in it and let someone else have a go."