You must try the following steps to fix the issue:
Update your WhatsApp to the latest version available online.
If your device is in airplane mode, turn it off.
If you're facing the connection issue, reboot it.
Make sure you're using your device within a coverage area.
Also, make sure that APN settings of your device are configured correctly.