Make sure your travel documents are up to date well before you leave. Check that your passport is still valid. It must be valid for three months past the date that you intend to leave New Zealand.
You must have the appropriate and current visa. Not everyone needs a visa, so check if you’re not sure.