is my inability to kill exo mechs a skill issue or gear issue?

i usually get to second or third phase and then die to Ares or Thanatos