If you mean closing up the pores on open-grained wood, pore filler is how it's done.
If you mean minor splits, cracks, pinholes, etc., I use CA for the small stuff.
For larger imperfections like wormholes, etc., I use clear epoxy mixed with sawdust from the wood itself. Sometimes tinting...