Spindle control wonky

We’re going to need more info to help diagnose this.
What is your milling machine brand and model ? and controller brand and model ?
It also may be easier if you created a support.zip file and sent it to us, don’t post it here as it has your license in it.
See this post instructions- Creating a Sheetcam Customer Support file