How do you avoid paint bleeding through knots in timber?

We use stain-blocking primers or knot sealers to stop tannin and resin bleed, keeping the finish clean and consistent.