If you didn't activate the two-step verification, the new owner of the phone number will be the owner of your WhatsApp account. He won't of course have access to your previous messages, but he will receive new messages destined to yourself. He may even be seen with your profile picture and status. See this interesting Vice article : https://www.vice.com/en/article/bv8mqd/how-i-hacked-whatsapp-account
Bottom line is : protect your account with 2-step verification. The new owner of your previous phone number won't be able to access your account, because he won't have your PIN. But after 7 days, he will be able to create a new WhatsApp account linked to your old number, and your account will be deactivated.
See https://faq.whatsapp.com/general/verification/about-registration-and-two-step-verification/?lang=en :
If you didn't enable two-step verification, but are prompted to enter a PIN, the previous owner of the phone number might have enabled it. In this case, you'll need to wait 7 days before resetting the PIN to access your account.
Additional info : if you don't use your WhatsApp account for 45 days, and it's activated on another device, WhatsApp will consider that the number has been recycled and will create a new account linked to that number. See https://faq.whatsapp.com/general/account-and-profile/seeing-your-phone-number-already-in-whatsapp/?lang=en :
To help eliminate confusion with recycled phone numbers, we monitor account inactivity. If an account is unused for 45 days and then becomes newly activated on a different mobile device, we take this as a sign that a number has been recycled. At this time, we'll remove the old account data tied to the phone number - like the profile photo and About section.