I bought 6442S instead of 6445G, what should I do if the XY axis direction is reversed

Change the polarity of the direction in the vendor settings
image