Most of the time we glue first before priming. We will paint them separate if it seems it will be hard to paint them assembled beforehand.
For instance, I'm doing Napoleonic cav for an order at the moment, and I glued them first. Recently, I did an order of Bretonnian pegasus riders and I painted them separate, as the wings on the pegasus made it a pain to get to the rider.