#1 and #2 rules of machining, whether a beginner or an old hack... Never allow anyone in your work area. And No loose long hair, loose clothing, jewelry of any kind (particularly rings), and keep your tools on the bench not on the machine...
Actually the number one rule of machining (and woodworking) is:
Thou shalt not touch spinning bits (blades, cutters, etc).