There are typically (4) hex socket head cap screws that secure your spindle motor.
This is by no means a professional explanation but I have a cnc shop and 2 komo router.
get an indicator, supply a true surface (or use your tables surface)
Insert indicator in spindle
Activate your spindle (lower to cutting position) similar to
Tool touchoff
Loosen screws.
Correct the motor using feeler shims for x axis
Move the spindle motor clockwise or counter clockwise for y axis
Hope that helps!