Both are viable options. Nails are usually cheaper, but screws tend to last longer and are easier to remove in case you need to make repairs at some point.