To delete a node in a tree, first find the node to be deleted. If the node is a leaf node, simply remove it. If the node has only one child, replace it with its child. If it has two children, replace it with either the inorder successor or predecessor and delete that node instead.