Teaching is not telling. Teach until the skill is completely successfully. Make it fun to learn. Explain and demonstrate exactly the way the skill needs to be done. When players don't listen, play hard or have good attitudes, coaches make the typical mistake of assuming it is the player fault.
Great coaches take responsibility for attitude and actions of the players.
They have a consistent, well planned, logical plan to solve these type of problems. Bad behavior on a team is because of an undisciplined coach. Yelling, punishing, swearing, criticizing and other negatives are not necessary to make players perform well. Discipline is a necessary part of coaching. Self discipline is the best kind of discipline.