If you don’t have an elite machine then you are using stall homing. If it’s reaching it’s limit and not homing then you most likely need to reduce the current. This video should help.
https://www.youtube.com/watch?v=cIiP5stsNKg&ab_channel=OnefinityCNC