Below is a list of steps you can take to prevent unwanted programs from opening on startup:
-  Disable Startup Programs: 
Go to the startup tab in the Task Manager and disable any unwanted programs that are set to autostart. -  Third-party tool: 
There are many third-party tools available that help you manage programs that autostart. -  Virus Scan: 
Run a virus scan to make sure that your system is clean of any malicious programs that might be causing the unwanted programs to startup. -  Restore to Default Settings: 
If all else fails, you can restore your computer to its factory default settings. This will get rid of any unwanted programs that may have been installed. 
