The stock market is a wonderful thing, but only if it's used wisely.

The typical way to articulate the proper use of the market is to distinguish between investing and speculating; the former is advised while the latter should be avoided.

But the problem is that the line between these activities is often blurred. What may be considered investing by one person may appear speculative to another.

With this in mind, I've found it helpful to look at the market in a different way, broken down into a general rule and a handful of exceptions.

The general rule
As a general rule, it's best to assume that you can't beat the market by picking individual stocks. The data to support this position is far from conclusive, but what we do have suggests that the S&P 500 (^GSPC -0.88%) outperforms the individual investor by a factor of roughly two over the long run.

Consequently, the vast majority of retail investors would have both more time and more money by simply purchasing shares in an exchange-traded fund that tracks the index. The two that come to mind most readily are the SPDR S&P 500 (SPY -0.87%) and its slightly higher-yielding brethren at the SPDR S&P Dividend (SDY 0.91%).

Many investors may perceive a strategy of investing exclusively in funds like these as capitulation -- an admission, that is, that they don't have the gravitas to take on the market and win. The best that can be said about this philosophy is that the market isn't a forum in which to test machismo; its function is to make you money.

The 3 exceptions
Beyond the general rule, there are three exceptions.

The first exception is for people who have inside information. As we've learned with the giant hedge fund SAC Capital, it's quite possible to beat the market if you're trading on information that isn't known to the public. But as we've also learned from this experience, the people using it could very well end up in jail.

The second exception is if you have a legal "edge at stock-picking." My colleague Morgan Housel went into detail about this topic here, and I encourage you to read it.

The important thing to note is that few retail investors have such an edge. The type of individual who does is typically a professional investor with superior analytical skills and the ability to control his or her emotions through the market's inevitable cycles.

A perfect example is Warren Buffett, the chairman and CEO of Berkshire Hathaway (BRK.A 1.18%) (BRK.B 1.30%) -- click here to discover the 10 things that make Buffett so successful.

Since the late 1960s, Buffett has used the profits and float from Berkshire's various and growing units to reinvest opportunistically, and in doing so he's dramatically outperformed the broader market. You can see this in the following chart, which plots the long-run performance of Berkshire's stock versus the S&P 500.

BRK.A Total Return Price Chart

Another example hits much closer to home to both the author and readers of this article. As The Wall Street Journal recently announced, "The three top spots in the Hulbert Financial Digest's five-year rankings through June 30 of more than 200 investment-advisory services ... are subscription newsletters published by the same advisory firm, the Motley Fool."

These services, while available to the average person via a subscription, are run by professional investors and have doubled the returns of the broader market over the past five years. Whereas the S&P 500 returned 7.2% on an average annual basis, these stock-picking newsletters have returned between 15% and 18%.

And this brings me to the third exception. If you aren't a professional investor with the requisite time and expertise necessary to beat the market, then you can simply leverage the skills of those who do. I know this sounds like a naked sales pitch for our services, which you can peruse here, but the reality is that they do, in fact, offer an opportunity for the retail investor to actually beat the market -- an otherwise unattainable feat for most people.

The bottom line
The bottom line is that beating the broader market isn't easy. As a result, there's no shame in simply matching its returns. But if you're looking for something more, it's probably best to consult people who can assist in that objective.