According to code, what must be done before any exterior stucco is applied?

According to code, what must be done before any exterior stucco is applied?