If the N-gram has a zero count, step down to a smaller N-gram (i.e., ignore the first $i$ elements of the sequence) until a non-zero probability distribution is available.
In so called **stupid backoff**, instead of re-calculating a normalizing constant for the probabilities just use a small empirically-derived constant.