Often this is an issue with axis being backwards and endstops being setup as mins or max's incorrectly
things to check. When looking at the front of the printer.
X+ moves head right, X- moves the head left. X min endstop is on the left, max on the right
Y+ moves the bed forward, Y- moves the bed back. Y min endstop is at the back, max at the front.
Z+ moves the head up, Z- moves the head down. Z min endstop is down and max is up.