Hi craryd,
You may try using steel wool to slightly buff them out if they are light scratches. Always go with the wood grain when buffing.
If the scratches are a bit deeper, you might be able to use sandpaper that gets progressively finer in grit size. Then buff with steel wool.
If you have a polyurethan finsih, which is common, don't try using any wax products to fill the scratch.
Another method that is somewhat contorversial is using steam from a hot iron over the scratches. This can slightly swell the area, raising the scratches. Don't place the iron directly on the wood as it can craete scorch marks. Don't do it too long as you don't want your boards taking in too much moisture.G
Good luck!