The phrase "to mess around with" means to engage in some activity or behavior that is not serious, but rather playful or experimental. It can refer to trying out something new, tinkering around, or simply goofing off without any particular purpose. The phrase often implies a lack of commitment and can be used in both positive and negative contexts depending on the situation.