mess around
verb
Definitions
To fiddle idly.
Example: The kids sat there messing around with leaves and blades of grass because they were bored.
To joke, kid, or play.
Example: Don't mess around with electricity if you don't understand it.
To have a sexual relationship, especially one which is non-commital.
Example: Rumor has it that he's messing around with his secretary.