If you see it, you either run, hide or kill it before it sees you,

More Titanomyrma Encountering Tips