You can expand your stable and get more stalls by talking to John, who is standing outside of your stable. He will expand your stable for you in exchange for Star Coins. You can expand your home stable 3 times, after that it cannot get any bigger. Please note that an expansion cannot be reverted.
John will build a bigger stable for you.