TeamViewer is used to connect to remote computers. Free alternative is Google Chrome Desktop.
On Ubuntu teamviewer start a service called teamviewerd. If you don’t use teamviewer always, it is better disable this service.
sudo systemctl disable teamviewerd
When you want to use TeamViewer, start it with command
sudo systemctl start teamviewerd
You may need to keep it running if you want unattended access to your PC, that may come with its own security risk.