I installed some updates and after a restart the network manager thing in the taskbar said NetworkManager wasnt running so i tried to run it in terminal and it said i didnt have permission so i ran it with sudo and it worked. How do I get it to automatically start?

(I also posted this here: https://piefed.social/c/linux4noobs@programming.dev/p/2244265/networkmanager-doesn-t-run-on-startup)

UPDATE:
fixed with sudo apt install --reinstall network-manager