To be honest, there isn't much you need to do to keep your SSD in good shape. As long as you don't physically abuse it, it should last for years (unless it fails due to a manufacturer hardware/software issue). Here's some basic info on TRIM and trash collection, though:
Currently, Mac OS X does not support native TRIM on 3rd party SSDs. There is something called "TRIM Enabler" that enables TRIM on 3rd party SSDs, but it has been known to hurt drive performance. However, most recent SSDs have garbage collection. This means that all (or most) deleted files will be wiped from the drive, instead of marked as deleted and left there. Either way, your SSD's performance shouldn't degrade over time.
What's most important is buying a SSD that has a good track record and is known to be compatible with MacBook Pros. I bough an OWC Mercury Extreme Pro and I couldn't be happier. It hasn't had any compatibility issues and, from what I know, supports advanced trash collection.