There is no such specific time. The purpose of demo is to be familiar with the trading mechanism. Another purpose of demo is to test your strategy. Stay on demo as long as you find a proven method. Define your entry, exit, risk, reward and risk management policy on demo. Once you are convinced you can go for live trading.