Honestly, it’s as simple as saying, “knock it the fuck off” or “we don’t do that here” and then not backing down. You may have to tell someone to shut the fuck up a few times after that, but standing your ground does wonders. Most people really don’t want to get into with someone who is serious.