Here is the best advice you can get to make your computer run as well as it can:
1- start with a clean install (where you erase your hard drive and install your software strictly following the developer's instructions);
2-only use hardware that is supported on the version of Windows you have;
3- only install software that is supported on the version of Windows you have;
4- operate your hardware and software in strict conformance to the way the hardware manufacturers and software developers specify - another way of saying this is to avoid 'cleaning' your computer, deleting things you don't think belong there, changing the internal structure of your software, and in general keeping away from crazy advice that's all over the internet in YouTube videos;
5- make the investment in time to learn how your hardware and software works, so you will understand how to use it correctly and wisely; and
6- back up your computer every night - that means backing up your personal files (documents, pictures, etc.) and your software with an image backup.
Doing these things will give you the best performance that your computer is capable of providing, and it will ensure that you never lose your personal files and never have to reinstall Windows ever again.