fool around with somebody
to have sex with someone other than your husband, wife, or usual sexual partner mess around with somebody It's hard to believe that any man can get caught fooling around with another woman and still manage to keep his wife on his side.
fool around with something
to amuse yourself by doing or saying something that is likely to cause trouble mess around with something You don't want kids fooling around with matches.