It's because taking them regularly until the prescription is complete helps ensure that all of the illness-causing bacteria are killed or prevented from multiplying. If you stop taking them early, the bacteria could still be alive and be spread from person to person. On top of that, the bacteria could develop to be antibiotic-resistant!