Before you upgrade your system remove any "cleaning", "optimizing", "speed-up", anti-virus or VPN apps on your Mac. They a not needed on Macs and only cause problems down the line. Contact the developer's for instructions of removing their apps.
Then tou can check to see if you've removed all of the supporting files by downloading and running the shareware app Find Any File to search for any files with the application's or the developer's name in the file name. For XXXX software you'd do the following search(es):
1 - Name contains xxxx
Any files that are found can be dragged from the search results window to the Desktop or Trash bin in the Dock for deletion.
FAF can search areas that Spotlight can't like invisible folders, system folders and packages.
If you get warnings that the file can't be deleted because it is in use or used by another app boot into Safe Mode according to How to use safe mode on your Mac and delete from there.
Note: if you have a wireless keyboard with rechargeable batteries connect it with its charging cable before booting into Safe Mode. This makes it act as a wired keyboard as will assure a successful boot into Safe Mode.