How to deal with them in early game: If one is chasing you, run past several peaceful creatures. The Dilos sometimes attack those instead of you. Another way to deal with them is to curve around them while they spit at you. Hit them with an axe or pickaxe while they use their melee attacks.

More Dilophosaur Encountering Tips