This depends on the illness as well as the other individual characteristics of your case. In general, a slowly developing or long-standing complaint takes longer to cure than an acute one. Remember that homoeopathy aims to cure both the cause of you illness as well as its symptoms, so be patient.
Once your symptoms start to lessen you should increase the time between doses according to the directions given by the physician. Next dose when your symptoms begin to re-appear.