The FIDE Laws of Chess

Article 12:  The conduct of the players 

12.1  The players shall take no action that will bring the game of chess into disrepute. 

12.2  During play the players are forbidden to make use of any notes, sources of information, advice, or to analyse on another chessboard. The scoresheet shall be used only for recording the moves, the times of the clocks, the offer of a draw, and matters relating to a claim. 

12.3  Players who have finished their games shall be considered to be spectators. 

12.4  Players are not allowed to leave the 'playing venue' without permission from the arbiter. The playing venue is defined as the playing area, rest rooms, refreshment area, area set aside for smoking and other places as designated by the arbiter.The player having the move is not allowed to leave the playing area without permission of the arbiter. 

12.5  It is forbidden to distract or annoy the opponent in any manner whatsoever. This includes unreasonable claims or offers of a draw. 

12.6  Infraction of any part of the Articles 12.1 to 12.5 shall lead to penalties in accordance with Article 13.4. 

12.7  Persistent refusal by a player to comply with the Laws of Chess shall be penalised by loss of the game. The arbiter shall decide the score of  the opponent. 

12.8  If both players are found guilty according to Article 12.7, the game shall be declared lost by both players.