Most successful child (son only, probably).
To the (oldest if applicable) son in the case of having daughters and son(s).
One of the common inheritance customs was the one that we also find often today: every child gets a part of the inheritance, sometimes resticted to men. If you are interested, you can look into what happened in the Frankish kingdom/empire after the death of a ruler.
Can you specify your question to a specific age or region?