The answer to this would depend on at least two factors.
First, it would depend on how completely the genetic factors determine behavior. In other words, if a child has a parent who is a criminal, are they 10% more likely to commit a crime? Are they 100% more likely? Is it absolutely certain that they will themselves turn out to be criminals? The greater the connection, the more likely it would be that society should take some action.
Second, it would depend on how authoritarian your society is willing to be. Taking children away from their parents would be one option. However, this sort of an option would have serious consequences. Taking children from their parents based on what MIGHT happen in the future, as opposed to what has already happened, is a serious step towards a totalitarian society. It could be that the “cure” would be worse than the “disease” for our society.