The expression "to wear too many hats" is an idiom that means to have many different roles or responsibilities.
In a job, for instance, if you have to wear too many hats, it means you're doing a lot of different tasks, not just the ones in your main job description.