first you need to open a contact in whatsapp and click on top right option like this

then a new option bar opens and you need to click on "MORE" icon like this

then click on the "BLOCK" option like this

now click on "BLOCK" and you will no longer receive messages and calls from that contact.
