Strictly speaking, there is no exact answer that fits all. It depends on what type of project you want to use it for and your preferences as well. However, if you're a mac user, I recommend using the Garageband tool for making beats. For windows, you can use LMMS as it's free and open-source with a large collection of plugins.