To fool around.
To waste time with unimportant activities, often used as an admonition to urge the other party to stop wasting time.
To mismanage.
To behave inappropriately, to misbehave.
To act improperly.
Behavior that is considered to be unacceptable.