This is a general, community wiki question to address all non-specific spam prevention questions.
If your question was closed as a duplicate of this question and you feel that the information provided here does not provide a sufficient answer, please open a discussion on Pro Webmasters MetaPro Webmasters Meta.
For purposes of this question, spam will include:
- Any automated post
- Manually-posted content which includes links to spammers' sites
- Manually-posted content which includes instructions to visit a spammer's site