When you see a student with candy or gum or this is not allowed in school catch his or her eye and privately signal the student to throw it away. Watch to be sure it has actually been discarded, but don't make an issue of the infraction. At the appropriate time, privately remind the student of the candy/gum policy as well as the consequence for future violations.