Network isn’t working /etc/resolv.config Is removed

I was trying to connect to Proton VPN and it was giving me this error

[!] Error connecting to VPN. [!] There are issues in managing IPv6 in the system. Please test the system for the root cause. Not being able to manage IPv6 by protonvpn-cli might cause issues in leaking the system’s IPv6 address. 

so I searched for the solution and found someone wrote this

sudo rm /etc/resolv sudo ln -s /etc/resolvconf/run/resolve.conf /etc/resolv.conf 

after that my internet isn’t working any more what should I do ?