Let us know what controller/software/machine you are using. Sounds like you don't have a safe Z clearance distance setup.