I'll add...
How and why did you get this idea? What do you know already?
Many "beginners" start with home stereo equipment and play for their friends in the back yard. If this is all you want to do, then try doing it very simple, with gear you might already own.
If you're looking to make some money doing this, then you need more equipment. First things first... you need a source of music, like a CD player, record player or computer. If you select a CD player (many DJ's have a duel CD deck as a backup to their computer), make sure it's a duel deck rack mount. Then, install it into a 19 inch wide rack (all kinds of heights are available).
A mixer is recommended so that you can alter the source of your music (from one deck or computer to the other), and vary the output. There's a thousand different kinds of mixers, that will do a thousand different things with the music. Pros on this board will send you in the right direction.
If you go with the "powered" speakers (sometimes referred to as "active" speakers), then you will need at least two. Most good DJ's have a subwoofer in the system, which adds low frequency. Personally, I'd never run sound without a "sub". Most good active subs have a crossover built in.
If you go with "passive" or non-powered speakers, you'll need an amplifier to boost the sound signal. Again, most good DJ's run two amps... one for the "mains" or top speakers, and one for the sub(s). If you choose to do it this way, I'd suggest a "crossover" which separates the frequencies that go to each of your speakers.
Then, you'll need the correct cables (never call them wires) to connect all of this gear.
You can go cheap (under a thousand... but not by much) or you can do it right, and buy quality gear. This board caters to the pros, who know how to do it right. There are some of us who have over ten grand in our sound gear... and many who top twenty grand. We have one DJ here, who tops fifty grand in sound gear (Valerie). You can pay for it once with quality gear or be disappointed and buy cheap gear your whole career (and usually wind up spending more over the long haul).
Then you'll need a vehicle to get your gear from one gig to the next. Many use a van, but most use trailers. Valerie uses a semi trailer (very cool). If you're serious, then spend money on the good stuff right away... you'll regret it if you don't.
Then, there's the issue of lighting... but that's another post.