Knowing when to quit

That company or project you started isn’t working out. You were excited, early customers were excited, but once you launched nothing really happened. Even worse, it’s not a total failure. You made some money. Not enough to grow, but at least a few people paid for it. When do you pull the plug and move on?