What is Refrain?

Refrain is another word for stop or halt. For example, if someone was about to say something inappropriate, they may have refrained or stopped themselves from saying it.