X Axis goes to the left when set "Auto Home"

Hello,
I bought a K8400 1 month ago. It worked perfect until today.
When I try to run “Auto home” the Y and Z Axis work perfect, but the X Axis doesn´t.
The X Axis goes to the left each time that I run the command, and not to the right to Stop with the Stop sensor.
I tested if all the cables are correct connected, and they are. I didn´t touch the printer since 2 days ago, and the last time it worked perfect…

Does anyone know what could be my problem?
Thank you!

Check the X-axis end-stop and clean it (there might be some dirt or oil in it).

Thank you!, that was the problem!