What does "refrain" mean? Could you give me some examples?

Native speaker’s answer
Rebecca
"Refrain" means to stop oneself from doing something. Here are some examples: Ex: Please refrain from speaking loudly in the library, or we'll get in trouble. Ex: We'll refrain ourselves from the snacks before dinner. Ex: They refrained him with handcuffs and took him to the police station. Ex: I really wanted to scream, but I refrained myself.