The best technique is to stay away from black hat SEO, use only white hat search engine optimization.
Some Black hat SEO: Hidden Content, Meta Keyword Stuffing, Doorway or Gateway Pages, Link Farming.
Some White hat SEO: Quality Content, Keyword Research and Effective Keyword Use, Titles and Meta Data, Quality Inbound Links