You can buy stalls by clicking on the ellipsis on the bottom of the screen and choosing the barn icon. After that you can swipe to the left or right until you reach an empty stall. Click on the plus and you will see the option to buy this stall for a small fee. You can have up to 5 different horses at once if you unlock all stalls!
Click on the horse icon to unlock more stalls!