How do you destroy a Star Trek Borg?

In first contact picard used a machine gun