…all you have to do is open the Terminal app, which comes preinstalled on your Mac.
You can find the Terminal app by searching for it with Spotlight or also in Finder > Applications > Utilities folder.
With the Terminal open, you must type the following commands:
sudo pkill TouchBarServer;
sudo killall “ControlStrip”;
You can either type them in or copy and paste both commands together. Press the Return key to continue. The result will be something like this: