There is no single mandatory painting order for every barn quilt pattern, but a little planning can save hours of masking and touch-up.
Start by drawing the entire pattern lightly before painting. Establish the grid, major diagonals and all color-zone boundaries so you are not trying to reconstruct geometry after several colors are already on the board.
If the design has a border, painting it early can make sense because many pattern points terminate at that border. In other designs, starting with a large background field is easier. Look at the geometry and ask which first step will reduce future masking.
Next, group the design by color. Instead of painting one shape at a time, paint as many areas of the same color as practical during one stage. That reduces brush cleaning, paint waste and repeated opening and closing of the same container.
Light-to-dark is a useful default. White, cream and pale yellow are less forgiving when they need to cover a dark mistake, while dark colors usually cover a light edge easily. That said, geometry can override the rule. If painting a darker center first eliminates three awkward tape stages, do what makes the pattern easier.
Tape only what you are ready to paint. Leaving tape across a project for days can create residue and increases the odds of pulling up other paint. Mask the current color, burnish the edge, paint, remove the tape appropriately, then let the surface cure before the next masking stage.
A good paint map makes this much easier because you can see which zones belong to each color before you begin. All Barn Quilt Patterns members get a paint map with their custom barn quilt plans. The goal is not to obey a rigid sequence, it is to reduce the number of times you have to mask the same intersection.