Laws of the Game
A kick-off starts both halves of a match, both halves of extra time and restarts play after a goal has been scored. Free kicks (direct or indirect), penalty kicks, throw-ins, goal kicks and corner kicks are other restarts (see Laws 13–17). A dropped ball is the restart when the referee stops play and the Law does not require one of the above restarts.
If an offence occurs when the ball is not in play, this does not change how play is restarted.