The reason that the computer is running slow and how to fix it

Computers are almost indispensable for many people. However, after a period of time, the computer runs slowly compared to the first time. So, what is the cause of making computers slowly?