Definition
to refrain from consuming or utilizing something harmful, or to prevent someone else from doing so
To maintain my health, the doctor advised me to keep off fast food.
She worked hard to keep her children off sugary foods.
If you want to improve your athletic performance, it's best to keep off alcohol.