the one that is the stronger activator will direct....for example, if you have an alkyl group (which is weakly activating) and an amine, -NH2 (strongly activating), then the amine group will direct.
for example, if you have p-methylaniline...and lets say you add a halogen to that ring, then Br will go ortho to -NH2 and meta to -CH3