If the music is 100% your own original creation, you automatically own the copyright and won’t need any licenses (may differ depending on your region).
If you release a cover, remix or a song using samples, you will likely need to purchase a license before releasing your music to avoid any possible legal action from the original copyright holders.