How many nails or screws should I use to attach the trims?

A fastener every 16 inches is sufficient.