This is the best way to both assist students and solve interpersonal conflict situations. A Stay Away contract is to be used as a strategy and not a punishment. Make sure to check on students everyday for the first 3 days, a simple thumbs up, thumbs down check is best.
Next, do an individual face-to-face meeting once a week. Students may not decide to end the contract on their own. That decision must be made by the adult that put the contract into place.