I attached an incorrect ancestor how do I delete it.
You will need to remove the incorrect relationship. See these knowledge articles for specific details depending on the type of relationship you created.