How Can I Protect My Computer From Viruses With Various Software?

My computer is getting slower and slower day by day. I think it is due to the unauthorized files. How can I protect my computer with the help of various software from viruses?

My computer is getting slower and slower day by day. I think it is due to the unauthorized files. How can I protect my computer with the help of various software from viruses?
Method 1- Install Firewall: It acts as a barrier between the computer and sites. It provides security.
Method 2- Install Antivirus Software: It protects your computer from any threats to the system such as viruses.Viruses may slow down the process of downloading and uploading and lower the speed of your internet and creates a problem in your files and folders. It protects your emails and personal information also.
Method 3- Use Complex and Secure Passwords: It is easy for hackers to find an easy password. It should be at least of 8 characters that should be upper as well as lower case.