It all depends on the paint you want to use. If you want to use a latex paint, then you will need to sand the boards. If you want to use an oil-based stain or epoxy, then you don't need to sand the boards before painting. Just make sure you give the boards enough time to dry and allow the paint to cure for a few days before using the boards.