You can stop squirrels from climbing up the tree by wrapping a smooth plastic or metal sleeve around the trunk wide enough so they can't climb past it.
However, keep in mind they might still be able to jump to the tree from other nearby trees or tall objects (fence, etc).