According to code, what shall be done before any plaster is applied?

According to code, what shall be done before any plaster is applied?