If social media is any indication, newer game masters have a lot of issues with disruptive players in their game. These issues are not difficult to resolve if you and your players understand the what the social contract is and how it applies to in-game and out of game behavior at the table. Here's advice on how you should manage disruptive players at your gaming table.
0:55 What is the Social Contract?
1:11 (moment of dementia)
1:40 Rule 1 - Don't be a jerk.
1:54 Don't do these things.
2:22 D&D is a team sport.
4:44 Don't be "that guy" (or gal).
5:50 "It's what my character would do."
6:52 How to manage the problem player as the DM.
7:00 Don't "punish" the player. Talk to them.
7:25 Example of how to approach the problem player.
10:20 Consensual in-game conflict
11:30 The DM also facilitates the social interactions
12:05 Personal anecdote of problem players
14:30 Summary points