mess around with
US /mes əˈraʊnd wɪθ/
UK /mes əˈraʊnd wɪθ/

1.
to spend time idly or unproductively
:
•
He likes to mess around with his computer on weekends.
•
Don't mess around with that old engine if you don't know what you're doing.
2.
to have a casual sexual relationship with someone
:
•
I heard he's been messing around with someone from work.
•
She warned him not to mess around with her feelings.