What does ‘screw around’ mean?

screw around

( v ) To have love affairs. [Use your imagination].
( v ) Waste time. If you screw around all day at this work, you will have to come back again.