You must first get a letter of acceptance from an educational institute in New Zealand followed by an offer of place. Once you get this, you can then apply for a Student Visa. You will have to provide credible evidence to show that you have the funds to pay for the tuition fees & living expenses in New Zealand. Besides some other supporting evidence, you may also be required to provide a medical certificate.