Put a cork in it

1. Used as a directive to instruct someone to stop talking or to be quiet immediately.