A couple of ways, check these options in the doc.:
--exclude=PATTERN'
When performing operations, `tar' will skip files that match
PATTERN. *Note exclude::.
`--exclude-from=FILE'
`-X FILE'
Similar to `--exclude', except `tar' will use the list of patterns
in the file FILE. *Note exclude::.