if you do in advance, if you leave it doneThe conditional form of ~ておく: it describes doing something beforehand or leaving something as it is, often to prepare for later.
JA: 明日のために、今のうちに予約しておけば安心です。
EN: If you book it now for tomorrow, you’ll have peace of mind.