There are two routes in the music business, independent or under a label.
As an independent you have to have a large amount of money upfront, you need to be able to fund yourself.
Under label, you will get an advance, and this advance is used to pay for everything, touring, studio sessions...