"Put a sock in it" is a common phrase used to tell someone to stop talking or making noise. If you want to use different words to convey the same message, try saying "Quiet down", "Shut your trap", "Zip it", "Button your lips", "Pipe down", or "Keep it down". These alternative phrases are a bit more polite than "put a sock in it", yet they retain the same level of bluntness to get the message across. Whatever phrase you choose, make sure it is appropriate for the situation and the person you are addressing.