This can depend on you, you should perform a strand test to see how long the color takes to set into your hair.
However, it is normally recommended to leave the dye on for 20 minutes are full application. On stubborn hair or grays, you should leave it an additional 5 minutes. However, you should not exceed 30 minutes.