The Law of Attraction is a principle that has been around for 100's of years and something that has become very popular since the book The Secret was published.
Simply put the law of attraction is harnessed by having our intentions clear and focusing our attention and energy on what it is we want. The same can be said for what we don't want.
Whatever you choose to think about and focus on, is what you will attract into your life.