In Preferences, turn on Junk Mail Filtering.
Some will still get through, but you can mark messages as junk as they come in and it learns what you are marking as junk and learns acordingly.
It works pretty well
Edit: You can also use the Rules - also in preferences to filter certain messages to certain folders. I do it to keep work, personal and study separate.