Put one’s heads together

To discuss or talk about something with someone or a group of people and try to solve a problem.

We put our heads together to try and find a solution to the problem.