Term: ban yourself
Example: ban yourself from casino gambling
Definition: the self-directed act of saying no to compulsions that interfere with ones health and happiness