Network Manager in ubuntu 18.04 crashes and I've to reboot everytime


I use ubuntu 18.04 and the wireless crashes in every 1 hour. The network setting says the network manager is not running. How to resolve this?

I tried sudo service network-manager restart, but the terminal also hangs.

---------------Answer---------------

try below commands

pkill nm-applet && nm-applet &

Previous : Ubuntu 20.04, have broken python3, can it be fixed?
Next : Ubuntu performance issues, slow and laggy