D&D has a lot of popular campaigns. Most handbooks and supplementals you'd see out there are exactly for those campaigns which feature their own rules and lore. While there isn't really much of a problem if you buy them, you'd be better off sticking to the original as a beginner. Only buy the other supplementals when you're ready to play the other campaigns with other players.