Well, a good way to layout comic panels is to start with a rough sketch of the story flow. Then, decide which moments deserve more space and which can be smaller. Also, think about the balance and rhythm of the page to make it visually appealing.
It depends on the story and the mood you want to create. Generally, you need to consider the sequence, the size of each panel, and the focus of the action or dialogue.