Hard to say. A lot depends on size of the tank, how many caves hiding places there are, and how long and established the hectors is. Do you have any way to separate them, do you have a qt tank. If you can remove the new goby and reintroduce with an isolation box may help.