What's the best way to kill a tree?

A massive crack has appeared in the brick wall of my garage and I'm shtting myself it's gonna bring the whole garage crashing down. Two builders have told me that the problem is a nearby tree undermining the foundation with its roots. How do I stop the roots spreading further? help!!
6 answers 6