You can install decking using nails or screws, and in most cases, screws are the better option. Nails are more likely to pop out of the deck frame, especially if they're made from a softer material like pine. If you choose to use nails, make sure they're galvanized nails or stainless steel.