The subscription can be canceled on your iPhone from the main Settings. You have to go to the iTunes & App Store. View your Apple ID and then manage the subscriptions. First of all, you can disable auto-renewal for Netflix. After that, you can stop the subscription.
If you would like more help to understand this in a simple way, then you can click on the following: https://www.errorsdoc.com/software/how-to-cancel-netflix-subscription/