Search engine optimization methods are divided in two categories: black hat SEO and white hat SEO. Both methods can help you to get high rankings on search engines.
However, one method is likely to get your website banned on search engines and recent developments indicate that websites that use that method will be in trouble soon.