This depends on what effect you are trying to get from the developer and whether you apply any heat. You should seek the help of a professional stylist.
The amount of time you leave 20 volume developer depends on the shade and thickness of your hair. I usually leave 20 volume developer in my hair for 10 minutes.