How can nations prevent human rights abuse at the point of a genocide

How can nations prevent human rights abuse at the point of a genocide