They're so slow that you don't really have to worry about them. Just shoot at their head while walking backwards and you'll be fine.

More Ankylosaurus Encountering Tips