Goof off

To waste time, to fool around, to not work or be serious.

The boy has been goofing off all afternoon and has not done any work.