How to position wandering creatures in the dungeon

How do you position wandering creatures in relation to the party when they appear in the dungeon?