It works very much like a regular email filter. You can check out the details here:
http://www.cpanel.net/docs/cp/spamAssassin.htm
That shows you how to install it and includes a few links to still more information. I personally don't use it, and it you're already filtering out most of the junk mail you get anyway, it probably wouldn't be of much benefit to you.