If you are in a homestay you will probably be able to visit your homestay family’s doctor.
You need to have good health insurance. New Zealand has publicly-funded health services like subsidised prescription medication and free hospital treatment; however, you need to satisfy certain eligibility criteria for these services to be free or subsidised. Please use the Ministry of Health's Guide to Eligibility Criteria to see if you meet the requirements.