Not to worry! Keep an eye on your Checkpoints in the chapter menu and feel free to travel back to one Checkpoint for free, or use crystals to travel back in time even further. All purchases and achievements that have been made in the chapter you choose to restart will be saved.