How do I make the character move around the player?

I need the enemy to move around the player when approaching him, like opponents from the Dark souls series of games.