Players may not delay play on purpose, change the shuttle, behave in an offensive way or commit other misconduct.
Examples are throwing a racket, shouting at the umpire, swearing, or coaching during play.
Coaches and spectators must also follow the rules, and may be asked to leave.
First the umpire gives a warning. If it happens again, or in a serious case, the umpire gives a fault to that side. After a fault of this kind, the umpire reports to the referee, who can disqualify the side.
A fault means the other side scores a point and, if it was the receiver's, serves next.
Example
A player slams the racket on the floor in anger. The umpire gives a warning. If the player does it again, the opponent is given a point and the umpire calls the referee.
The umpire controls the court and the match. The referee is in charge of the whole tournament and decides on serious cases.
Players can ask for the referee if they think the umpire misapplied a law, but not to question a judgement call.
Most cases end with a warning. The point system is simple: warning first, then a fault, then possible disqualification.
The umpire records every warning and fault on the score sheet.
A serious act, such as violence, can lead to direct disqualification.
Sources