Here are some examples:
* "The kids were horsing around in the park, chasing each other and laughing."
* "Don't horse around in the lab, you could break something important."
* "We were just horsing around, we didn't mean to hurt your feelings."
It's often used to describe playful, informal behavior, often with a connotation of being slightly out of control or lacking seriousness.