Whatever you do, do not download or install any product claiming to magically "clean up" or "speed up" or "optimize" your Mac. Without exception, they will do the opposite. If you already did, you found the problem. Fix it.
If it is only Web browsing that seems to be slower than it used to, that is often the result of such sites becoming ever more demanding of hardware and bandwidth. Short of paying for faster Internet service, buying additional memory, or a faster Mac, there is little you can do to cope with such so-called progress.
If you're experiencing general slowdowns or "freezes" unrelated to Internet activity, the problem may be related to your computer or the software you installed and is something you may be able to fix, or at least improve. Aside from hardware failures and software that you install, including OS upgrades, there is no reason that your computer should not work precisely the same as it did when it was new.
Without a more specific description it is difficult to provide specific guidance. Read the following to determine if something may apply to your concern:
General Mac maintenance: Tips to keep your Mac in top form
General purpose Mac troubleshooting guide: Isolating issues in Mac OS X
Creating a temporary account to isolate user-specific problems: Isolating an issue by using another user account
Identifying resource hogs and other tips: Runaway applications can shorten battery runtime
To identify potential hardware problems: Apple Hardware Test
To resolve startup issues and perform disk maintenance, use Disk Utility.
Safe Mode or "Safe Boot" is a troubleshooting mode that bypasses all third party system extensions and loads only required system components.
Read about it: Starting up in Safe Mode
To repair a potentially corrupt hard disk, so that you may recover its data prior to replacing it, and subsequently reinstall Mac OS X: OS X Recovery
(applies only to Lion and later versions of OS X)
Run Activity Monitor as you use your machine and check to see if you are running out of memory and experiencing page swaps.. if so then upgrade the memory to max allowed on your machine. (about $50-$100US)
If you're within 10-20% of your disk max then upgrade your disk as well. (About $125)
Lastly, Repair Permissions using DIsk Utility and then "reset" Safari to purge Safari cache. (Free)