Drone is toppling while taking off

I’ve started programming the pixhawk cube orange for a hexacopter and just reached the initial tuning stage. I’m facing the issue mentioned below and I’m not able to tackle it.
Whenever I arm the pixhawk drone (hexacopter), it topples (pitches up or down) while taking off and then we have to abort the take off. Sometimes it pitches down and sometimes it pitches up. I don’t understand what’s the problem.

The motor order is incorrect.

After you fix that it will work