Have you actually tested whether it's really the system slowing down or if it's just apps running in the background eating up your RAM? Because honestly, people often think Windows is dead when really it's just Chrome with 47 tabs killing everything.
But yeah, if it's overall slowdown, the classic issue is stuff accumulating at startup. Go into system settings, startup tab, and remove everything that shouldn't be there. Also check Windows services - there's a bunch of stuff running by default that most people don't actually need. You've also got the built-in "Disk Cleanup" option which can help, especially for removing old Windows versions that pile up and take space.
If it's really become a nightmare, you can also try a system reset through settings (it lets you keep your personal files without doing a full reinstall). I do that every two years myself, clears everything without too much hassle. Before you do it though, back up your important stuff - don't be reckless about it.