Probably, a few cells started to live together in a colony, sharing food and gaining more resilience from physical obstacles. Microbes live like that now in colonies. They CAN live alone, but they do better in groups. Later, various cells take on specialized roles, depending on their location in the colony. That is called multicellularity, the classic early multi-celled organisms is the worm. We see the remnants of this evolution throughout the living world: Organisms that succesfully made it as partially complex colonial and multi-cellular organisms, and stopped evolving. Other individual cells of course became more and more complex, leading to the animal and plant and fungi kingdoms. Also, some cells, protozoa, developed more complexity, just within a single cell, growing "feet", "eyes", etc.
I would answer this but amazingly, the amount of time I would have to use to construct a comprehensive answers is the exact same time you could use to get some real knowledge about evolution.