Netflix can send you a text message with a code to recover your account if you forget your password. First, make sure you have a correct and verified phone number added to your account.
From a web browser, go to your Account page.
Select your country.
Enter your phone number.
Enter your account password.
You may be prompted to verify the number with a code sent to you by text message. Verifying your phone number allows you to use it for password recovery and account verification if you contact Netflix Customer Service. If you don't want to verify the phone number or aren't prompted to, you can verify later by selecting Send Code from a banner you may see in your account.