Study interval timer: your own minutes
Set the minutes of work and of break and how many rounds; it chimes at each turn and stops after the last round of work.
How long should the rounds be?
As long as you can keep your mind on one task; the starting values are only a start. For the method with set lengths, use the Pomodoro timer; to count up instead, the stopwatch.