refrain

To stop yourself from doing something you want to do.