They spit first, so before you attack, get its attention, let it spit, jump or dodge or whatever, then go and attack/tame it. There are usually multiple together as well so be prepared. They are easy to take out as well. A couple stones from a slingshot and you don’t even have to take damage.

More Dilophosaur Encountering Tips