Not viruses, because the data that comes to your device is only text or photos, not executable code.
The spam you get on your device is the same spam you get in Yahoo! Mail, and Mail deals with spam in much the same way that Yahoo! Mail does. For more information, see How do I manage spam?