Use a lead on the villager if the game/mod allows it
Trap or guide the villager with doors, fences, and paths
Place a workstation or bed where you want the villager to go
Ring a bell to make villagers move to a safe area
Trade with the villager to keep it nearby
Use minecarts or boats to transport the villager
Use commands or mods if you want the villager to follow you directly
