If you start with a lot of grain texture, you should sand the wood first, then primer. You can start with primer, but then you have to primer many times until the grain is gone and you have the surface finish you wish.
It it has an open grain like oak, you should fill, sand, then primer.