The first thing is to get a good driving instructor. A qualified driving instructor will help you instill good procedures and habits.
Drive under supervision as much as possible on different road types and under different conditions.
Research in Australia has shown that when learner drivers are subjected to 120 hours of supervised driving under different conditions, their crash rates drop by 40%.
A good start is for parents to sign up as a coach for their teenage learner driver on the https://drive.govt.nz/ website.
Before you go for your restricted licence test, get a few more lessons with your driving instructor.