The order of play decides who plays next: the honour on the tee, then whoever is furthest from the hole.

In match play, if you play out of turn your opponent can cancel the stroke and make you replay it. In stroke play there's no penalty, and playing "ready golf" out of turn is encouraged to keep the game moving.