Someone help me out with an enemy

how do you make an enemy move towards the play no matter wich side he is on