For the first layer dip the tortillas in sauce and line the pan. Cover this layer with one can of refried beans (1/2 if using 8X8) sprinkle a little cheese over the beans.
Here is the layout of the next layer of tortillas. I put the cut sides toward the outside of the pan and lay a row down the middle.
Next add the chicken and onion layer, top with a little more cheese.