What you're looking for are probably "lead in - lead out" and "overcut" options (or something like that) in your CAM software. If you're using one of the Mach3 wizards, then I don't know really, since I haven't used those. Also, check that your Z axis is perfectly at 90º relative to both the X and Y axis.