The time one should spend on a demo account varies. But one should take as much time as needed. When you see you are profitable then go for a live account. Trading on a demo as a newbie gives his first emotional test. Which is the patience of keeping himself away from trading on a real account.